2010-05-06 00:08:41 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
2010-09-19 16:49:03 +00:00
|
|
|
FILE(GLOB HEADERS ../../include/nel/logic/*.h)
|
2010-05-06 00:08:41 +00:00
|
|
|
|
2010-09-19 16:49:03 +00:00
|
|
|
NL_TARGET_LIB(nellogic ${HEADERS} ${SRC})
|
2010-05-06 00:08:41 +00:00
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
2010-09-01 21:30:06 +00:00
|
|
|
|
2010-05-06 00:08:41 +00:00
|
|
|
TARGET_LINK_LIBRARIES(nellogic ${LIBXML2_LIBRARIES} nelmisc nelnet)
|
2010-09-01 21:30:06 +00:00
|
|
|
SET_TARGET_PROPERTIES(nellogic PROPERTIES LINK_INTERFACE_LIBRARIES "")
|
2010-09-03 14:02:04 +00:00
|
|
|
NL_DEFAULT_PROPS(nellogic "NeL, Library: NeL Logic")
|
2010-09-14 11:51:44 +00:00
|
|
|
NL_ADD_RUNTIME_FLAGS(nellogic)
|
2010-05-06 00:08:41 +00:00
|
|
|
|
2010-07-14 17:13:07 +00:00
|
|
|
NL_ADD_LIB_SUFFIX(nellogic)
|
2010-05-06 00:08:41 +00:00
|
|
|
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
2011-09-11 12:44:37 +00:00
|
|
|
IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
|
|
|
|
INSTALL(TARGETS nellogic LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|
|
|
|
ENDIF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
|