khanat-opennel-code/code/nel/src/logic/CMakeLists.txt

20 lines
701 B
Text
Raw Normal View History

2010-05-06 00:08:41 +00:00
FILE(GLOB SRC *.cpp *.h)
FILE(GLOB HEADERS ../../include/nel/logic/*.h)
2010-05-06 00:08:41 +00:00
NL_TARGET_LIB(nellogic ${HEADERS} ${SRC})
2010-05-06 00:08:41 +00:00
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
2010-05-06 00:08:41 +00:00
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)
2010-05-06 00:08:41 +00:00
NL_ADD_LIB_SUFFIX(nellogic)
2010-05-06 00:08:41 +00:00
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
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)