mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 05:27:19 +00:00
df0f11c95b
* Update CMake configuration for easier maintenance * Incorrect casing fix * Move package requirement * Update CTest linking * Add logs to the CMake * Add linking for common libraries Added linking for common libraries in tests subdirectory. * Move test subdirectory higher up for some reason * Whitespace a log removal Missed new line * Add dCommon to dChatFilter * Update library output dir * Correct libBcrypt * Further refactor CMake behaviour * Repair bad comments and update library defines * Revert to old include directory method * Implement platform defines * Add missing include Mac needs a specific include for defining platform. Does not compile without this. Co-authored-by: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com>
12 lines
266 B
CMake
12 lines
266 B
CMake
set(DNET_SOURCES "AuthPackets.cpp"
|
|
"ChatPackets.cpp"
|
|
"ClientPackets.cpp"
|
|
"dServer.cpp"
|
|
"MasterPackets.cpp"
|
|
"PacketUtils.cpp"
|
|
"WorldPackets.cpp"
|
|
"ZoneInstanceManager.cpp")
|
|
|
|
add_library(dNet STATIC ${DNET_SOURCES})
|
|
target_link_libraries(dNet dCommon dDatabase)
|