Update: #842 In progress: adding EGS to CMake build.
parent
2028cfb46e
commit
49014f0a47
@ -0,0 +1,42 @@
|
||||
FILE(GLOB SRC *.cpp *.h
|
||||
backward_compatibility/*.h backward_compatibility/*.cpp
|
||||
building_manager
|
||||
character_structure
|
||||
creature_manager/*.h creature_manager/*.cpp
|
||||
egs_sheets/*.h egs_sheets/*.cpp
|
||||
entity_manager/*.h entity_manager/*.cpp
|
||||
entity_structure/*.h entity_structure/*.cpp
|
||||
game_item_manager/*.h game_item_manager/*.cpp
|
||||
guild_manager/*.h guild_manager/*.cpp
|
||||
mission_manager/*.h mission_manager/*.cpp
|
||||
modules/*.h modules/*.cpp
|
||||
outpost_manager/*.h outpost_manager/*.cpp
|
||||
phrase_manager/*.h phrase_manager/*.cpp
|
||||
player_manager/*.h player_manager/*.cpp
|
||||
progression/*.h progression/*.cpp
|
||||
pvp_manager/*.h pvp_manager/*.cpp
|
||||
pvp_manager/pvp_faction_reward_manager/*.h pvp_manager/pvp_faction_reward_manager/*.cpp
|
||||
shop_type/*.h shop_type/*.cpp
|
||||
stables/*.h stables/*.cpp
|
||||
team_manager/*.h team_manager/*.cpp
|
||||
weather/*.h weather/*.cpp)
|
||||
|
||||
LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/ai_pet_interface.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ai_pet_interface.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/egs_static_continent.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/egs_static_continent.h)
|
||||
|
||||
ADD_EXECUTABLE(entities_game_service ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/server/src ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
|
||||
TARGET_LINK_LIBRARIES(entities_game_service admin_modules game_share ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${MYSQL_LIBRARIES} ${ZLIB_LIBRARIES} ${NELMISC_LIBRARY} ${NELNET_LIBRARY} ${NELGEORGES_LIBRARY} ${NELLIGO_LIBRARY})
|
||||
|
||||
IF(WIN32)
|
||||
SET_TARGET_PROPERTIES(entities_game_service PROPERTIES
|
||||
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
|
||||
PROJECT_LABEL "Services: Entities Game Service (EGS)")
|
||||
ENDIF(WIN32)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
||||
INSTALL(TARGETS entities_game_service RUNTIME DESTINATION sbin COMPONENT services)
|
||||
|
Loading…
Reference in New Issue