Linux multi-monitor fullscreen support
[ryzomcore.git] / ryzom / tools / sheets_packer / CMakeLists.txt
blob45a3441538c9bbea369af891931a84f267f9a35c
1 FILE(GLOB SRC *.cpp *.h *.rc)
3 SOURCE_GROUP("" FILES ${SRC})
5 ADD_EXECUTABLE(sheets_packer    ${SRC} 
6                                 ${CMAKE_SOURCE_DIR}/ryzom/client/src/continent_manager_build.cpp
7                                 ${CMAKE_SOURCE_DIR}/ryzom/client/src/continent_manager_build.h
8                                 ${CMAKE_SOURCE_DIR}/ryzom/client/src/sheet_manager.cpp
9                                 ${CMAKE_SOURCE_DIR}/ryzom/client/src/sheet_manager.h)
11 INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/ryzom/client/src)
13 TARGET_LINK_LIBRARIES(sheets_packer     
14                                         ryzom_clientsheets
15                                         ryzom_gameshare
16                                         nelmisc
17                                         nelgeorges
18                                         nelnet
19                                         nelligo)
21 ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
23 NL_DEFAULT_PROPS(sheets_packer "Ryzom, Tools: Sheets Packer")
24 NL_ADD_RUNTIME_FLAGS(sheets_packer)
26 IF(WITH_PCH)
27   ADD_NATIVE_PRECOMPILED_HEADER(sheets_packer ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
28 ENDIF()
30 INSTALL(TARGETS sheets_packer RUNTIME DESTINATION ${RYZOM_BIN_PREFIX} COMPONENT tools)
31 INSTALL(FILES sheets_packer.cfg DESTINATION ${RYZOM_SHARE_PREFIX} COMPONENT tools)