khanat-code-old/code/nel/tools/pacs/build_rbank/CMakeLists.txt
2015-03-07 17:01:14 +01:00

16 lines
533 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 ${NL_BIN_PREFIX} COMPONENT toolspacs)
INSTALL(FILES build_rbank.cfg DESTINATION ${NL_ETC_PREFIX} COMPONENT toolspacs)