2022-11-07 08:12:35 +00:00
|
|
|
set(DMASTERSERVER_SOURCES
|
|
|
|
"InstanceManager.cpp"
|
2024-01-05 12:31:22 +00:00
|
|
|
"PersistentIDManager.cpp"
|
2023-12-30 07:00:43 +00:00
|
|
|
"Start.cpp"
|
2022-11-07 08:12:35 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(dMasterServer ${DMASTERSERVER_SOURCES})
|
|
|
|
add_executable(MasterServer "MasterServer.cpp")
|
2023-12-31 06:26:49 +00:00
|
|
|
add_compile_definitions(MasterServer PRIVATE PROJECT_VERSION="\"${PROJECT_VERSION}\"")
|
2022-11-07 08:12:35 +00:00
|
|
|
|
|
|
|
target_link_libraries(dMasterServer ${COMMON_LIBRARIES})
|
|
|
|
target_link_libraries(MasterServer ${COMMON_LIBRARIES} dMasterServer)
|
2022-07-16 23:24:16 +00:00
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
add_dependencies(MasterServer WorldServer AuthServer ChatServer)
|
|
|
|
endif()
|