mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-12 19:28:21 +00:00
16 lines
401 B
CMake
16 lines
401 B
CMake
set(DMASTERSERVER_SOURCES
|
|
"InstanceManager.cpp"
|
|
"ObjectIDManager.cpp"
|
|
"Start.cpp"
|
|
)
|
|
|
|
add_library(dMasterServer ${DMASTERSERVER_SOURCES})
|
|
add_executable(MasterServer "MasterServer.cpp")
|
|
|
|
target_link_libraries(dMasterServer ${COMMON_LIBRARIES})
|
|
target_link_libraries(MasterServer ${COMMON_LIBRARIES} dMasterServer)
|
|
|
|
if(WIN32)
|
|
add_dependencies(MasterServer WorldServer AuthServer ChatServer)
|
|
endif()
|