mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-28 08:27:22 +00:00
d283bbd1c4
* fix: split apart big Cmake libraries * fix: formatting * fix: newline * fix: add quotes
18 lines
445 B
CMake
18 lines
445 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_include_directories(dNet PRIVATE
|
|
${PROJECT_SOURCE_DIR}/dGame/dComponents
|
|
${PROJECT_SOURCE_DIR}/dScripts # transitive through components
|
|
)
|
|
target_link_libraries(dNet
|
|
PUBLIC dCommon dDatabase
|
|
INTERFACE dZoneManager)
|