mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-11 17:59:02 +00:00
19 lines
708 B
CMake
19 lines
708 B
CMake
FILE(GLOB SRC *.cpp *.h)
|
|
FILE(GLOB HEADERS ../../include/nel/logic/*.h)
|
|
|
|
NL_TARGET_LIB(nellogic ${HEADERS} ${SRC})
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
|
|
|
TARGET_LINK_LIBRARIES(nellogic ${LIBXML2_LIBRARIES} nelmisc nelnet)
|
|
SET_TARGET_PROPERTIES(nellogic PROPERTIES LINK_INTERFACE_LIBRARIES "")
|
|
NL_DEFAULT_PROPS(nellogic "NeL, Library: NeL Logic")
|
|
NL_ADD_RUNTIME_FLAGS(nellogic)
|
|
|
|
NL_ADD_LIB_SUFFIX(nellogic)
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
|
|
INSTALL(TARGETS nellogic LIBRARY DESTINATION ${NL_LIB_PREFIX} ARCHIVE DESTINATION ${NL_LIB_PREFIX} COMPONENT libraries)
|
|
ENDIF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
|