mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-22 21:43:35 +00:00
18 lines
655 B
CMake
18 lines
655 B
CMake
set(DWORLDSERVER_SOURCES
|
|
"PerformanceManager.cpp"
|
|
)
|
|
|
|
add_library(dWorldServer OBJECT ${DWORLDSERVER_SOURCES})
|
|
target_link_libraries(dWorldServer PUBLIC dGameBase dCommon)
|
|
|
|
add_executable(WorldServer "WorldServer.cpp")
|
|
target_include_directories(WorldServer PRIVATE "${PROJECT_SOURCE_DIR}/dChatFilter")
|
|
add_compile_definitions(WorldServer PRIVATE PROJECT_VERSION="\"${PROJECT_VERSION}\"")
|
|
|
|
target_include_directories(WorldServer PRIVATE
|
|
"${PROJECT_SOURCE_DIR}/dServer" # BinaryPathFinder.h
|
|
)
|
|
|
|
target_link_libraries(WorldServer ${COMMON_LIBRARIES}
|
|
dScripts dGame dChatFilter dZoneManager dPhysics Detour Recast tinyxml2 dWorldServer dNavigation dServer)
|