2010-05-06 00:08:41 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
2010-06-02 17:19:14 +00:00
|
|
|
ADD_EXECUTABLE(sheets_packer ${SRC}
|
|
|
|
${CMAKE_SOURCE_DIR}/client/src/continent_manager_build.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/client/src/continent_manager_build.h
|
|
|
|
${CMAKE_SOURCE_DIR}/client/src/sheet_manager.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/client/src/sheet_manager.h)
|
2010-05-06 00:08:41 +00:00
|
|
|
|
2010-06-02 17:19:14 +00:00
|
|
|
INCLUDE_DIRECTORIES( ${LIBXML2_INCLUDE_DIR}
|
|
|
|
${NEL_INCLUDE_DIR}
|
|
|
|
${CMAKE_SOURCE_DIR}/client/src)
|
2010-06-11 19:56:43 +00:00
|
|
|
TARGET_LINK_LIBRARIES(sheets_packer ryzom_clientsheets
|
|
|
|
ryzom_gameshare
|
2010-06-02 17:19:14 +00:00
|
|
|
${NELMISC_LIBRARY}
|
|
|
|
${NELGEORGES_LIBRARY}
|
|
|
|
${NELNET_LIBRARY}
|
|
|
|
${NELLIGO_LIBRARY}
|
|
|
|
${PLATFORM_LINKFLAGS}
|
|
|
|
${LIBXML2_LIBRARIES} )
|
2010-05-06 00:08:41 +00:00
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
2010-07-10 11:40:38 +00:00
|
|
|
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)
|