Use configured resolution for login/outgame/ingame
[ryzomcore.git] / ryzom / tools / sheets_packer_shard / CMakeLists.txt
blob383bd887106edc6f4ad244dc8d0624b5b5719fc2
1 FILE(GLOB SRC *.cpp *.h *.rc)
3 SOURCE_GROUP("" FILES ${SRC})
5 FILE(GLOB EGSSHEETS ${CMAKE_SOURCE_DIR}/ryzom/server/src/entities_game_service/egs_sheets/*.cpp ${CMAKE_SOURCE_DIR}/ryzom/server/src/entities_game_service/egs_sheets/*.h)
7 SOURCE_GROUP("" FILES ${SRC})
8 SOURCE_GROUP("EGS Sheets" FILES ${EGSSHEETS})
10 ADD_EXECUTABLE(sheets_packer_shard      ${SRC} ${EGSSHEETS}
11                                 ${CMAKE_SOURCE_DIR}/ryzom/server/src/input_output_service/string_manager_sheet.cpp
12                                 ${CMAKE_SOURCE_DIR}/ryzom/server/src/input_output_service/string_manager.h
13                                 ${CMAKE_SOURCE_DIR}/ryzom/server/src/gpm_service/sheets.cpp
14                                 ${CMAKE_SOURCE_DIR}/ryzom/server/src/gpm_service/sheets.h
15                                 ${CMAKE_SOURCE_DIR}/ryzom/server/src/entities_game_service/entity_structure/resists.cpp
16                                 ${CMAKE_SOURCE_DIR}/ryzom/server/src/entities_game_service/entity_structure/resists.h
17                                 ${CMAKE_SOURCE_DIR}/ryzom/server/src/ai_service/sheets.cpp
18                                 ${CMAKE_SOURCE_DIR}/ryzom/server/src/ai_service/sheets.h
19                                 ${CMAKE_SOURCE_DIR}/ryzom/server/src/ai_service/commands_mlf.cpp)
22 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/ryzom/common/src ${CMAKE_SOURCE_DIR}/ryzom/server/src ${CMAKE_SOURCE_DIR}/ryzom/tools/sheets_packer_shard ${CMAKE_SOURCE_DIR}/ryzom/server/src/entities_game_service)
24 TARGET_LINK_LIBRARIES(sheets_packer_shard
25                                         ryzom_gameshare
26                                         ryzom_servershare
27                                         ryzom_aishare
28                                         nelmisc
29                                         nelgeorges
30                                         nelnet
31                                         nelligo)
33 NL_DEFAULT_PROPS(sheets_packer_shard "Ryzom, Tools: Sheets Packer Shard")
34 NL_ADD_RUNTIME_FLAGS(sheets_packer_shard)
36 ADD_DEFINITIONS(-DNO_EGS_VARS)
37 ADD_DEFINITIONS(-DNO_AI_COMP)
39 IF(MSVC)
40         SET_TARGET_PROPERTIES(sheets_packer_shard PROPERTIES COMPILE_FLAGS "/bigobj")
41 ENDIF()
43 INSTALL(TARGETS sheets_packer_shard RUNTIME DESTINATION ${RYZOM_BIN_PREFIX} COMPONENT tools)