mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-18 13:28:09 +00:00
Fix indentation and divided the cmake into libraries and bins
- Each library and binary got their own CMakeLists.txt - Indentation was fixed everywhere - Weird if statement flows replaced
This commit is contained in:
17
dWorldServer/CMakeLists.txt
Normal file
17
dWorldServer/CMakeLists.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
file(
|
||||
GLOB SOURCES_WORLD
|
||||
LIST_DIRECTORIES false
|
||||
RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
*.cpp
|
||||
)
|
||||
|
||||
add_executable(WorldServer ${SOURCES_WORLD})
|
||||
|
||||
target_link_libraries(WorldServer dChatFilter)
|
||||
target_link_libraries(WorldServer dGame)
|
||||
target_link_libraries(WorldServer dZoneManager)
|
||||
target_link_libraries(WorldServer dPhysics)
|
||||
target_link_libraries(WorldServer detour)
|
||||
target_link_libraries(WorldServer recast)
|
||||
target_link_libraries(WorldServer tinyxml2)
|
||||
target_link_libraries(WorldServer ${SHARED_LIBS})
|
Reference in New Issue
Block a user