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

22 lines
648 B
Text
Raw Normal View History

2010-05-06 00:08:41 +00:00
FILE(GLOB SRC *.cpp *.h)
NL_TARGET_LIB(nelpacs ${SRC})
2010-05-06 00:08:41 +00:00
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(nelpacs nelmisc)
SET_TARGET_PROPERTIES(nelpacs PROPERTIES LINK_INTERFACE_LIBRARIES "")
NL_DEFAULT_PROPS(nelpacs "NeL, Library: NeL PACS")
NL_ADD_RUNTIME_FLAGS(nelpacs)
2010-05-06 00:08:41 +00:00
NL_ADD_LIB_SUFFIX(nelpacs)
2010-05-06 00:08:41 +00:00
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
IF(WITH_PCH)
ADD_NATIVE_PRECOMPILED_HEADER(nelpacs ${CMAKE_CURRENT_SOURCE_DIR}/stdpacs.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpacs.cpp)
ENDIF(WITH_PCH)
NL_GEN_PC(nel-pacs.pc)
2010-05-06 00:08:41 +00:00
INSTALL(TARGETS nelpacs LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)