2022-09-04 10:47:53 +00:00
|
|
|
if (BUILD_VISUAL_DEBUGGER)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBUILD_VISUAL_DEBUGGER=1")
|
|
|
|
endif()
|
|
|
|
|
2022-07-16 23:24:16 +00:00
|
|
|
set(DWORLDSERVER_SOURCES "ObjectIDManager.cpp"
|
|
|
|
"PerformanceManager.cpp"
|
|
|
|
"WorldServer.cpp")
|
2022-08-02 05:30:19 +00:00
|
|
|
|
2022-07-16 23:24:16 +00:00
|
|
|
add_executable(WorldServer ${DWORLDSERVER_SOURCES})
|
2022-09-04 10:47:53 +00:00
|
|
|
|
|
|
|
set(DWORLDSERVER_LIBRARIES dChatFilter dGame dZoneManager Detour Recast dPhysics tinyxml2 dNavigation)
|
|
|
|
|
|
|
|
if (BUILD_VISUAL_DEBUGGER)
|
|
|
|
set(DWORLDSERVER_LIBRARIES ${DWORLDSERVER_LIBRARIES} dVisualDebugger raylib)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
target_link_libraries(WorldServer ${COMMON_LIBRARIES} ${DWORLDSERVER_LIBRARIES})
|