khanat-opennel-code/code/ryzom/tools/sheets_packer/CMakeLists.txt

29 lines
926 B
Text
Raw Normal View History

2010-05-06 00:08:41 +00:00
FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(sheets_packer ${SRC}
${CMAKE_SOURCE_DIR}/ryzom/client/src/continent_manager_build.cpp
${CMAKE_SOURCE_DIR}/ryzom/client/src/continent_manager_build.h
${CMAKE_SOURCE_DIR}/ryzom/client/src/sheet_manager.cpp
${CMAKE_SOURCE_DIR}/ryzom/client/src/sheet_manager.h)
2010-05-06 00:08:41 +00:00
2010-09-03 20:18:31 +00:00
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/ryzom/client/src)
TARGET_LINK_LIBRARIES(sheets_packer
ryzom_clientsheets
ryzom_gameshare
nelmisc
nelgeorges
nelnet
nelligo
${LIBXML2_LIBRARIES})
2010-05-06 00:08:41 +00:00
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
NL_DEFAULT_PROPS(sheets_packer "Ryzom, Tools: Sheets Packer")
NL_ADD_RUNTIME_FLAGS(sheets_packer)
IF(WITH_PCH)
ADD_NATIVE_PRECOMPILED_HEADER(sheets_packer ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
ENDIF(WITH_PCH)
2010-05-06 00:08:41 +00:00
INSTALL(TARGETS sheets_packer RUNTIME DESTINATION bin COMPONENT tools)