khanat-opennel-code/code/nel/tools/pacs/build_rbank/CMakeLists.txt
2012-04-16 01:31:21 +02:00

16 lines
527 B
CMake

FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(build_rbank ${SRC})
ADD_DEFINITIONS(-DNL_BRB_CFG="\\"${NL_ETC_PREFIX}/\\"")
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(build_rbank nelpacs nel3d nelligo nelmisc)
NL_DEFAULT_PROPS(build_rbank "NeL, Tools, PACS: build_rbank")
NL_ADD_RUNTIME_FLAGS(build_rbank)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
INSTALL(TARGETS build_rbank RUNTIME DESTINATION bin COMPONENT toolspacs)
INSTALL(FILES build_rbank.cfg DESTINATION etc/nel COMPONENT toolspacs)