2022-07-16 23:24:16 +00:00
|
|
|
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})
|
2024-01-04 20:44:17 +00:00
|
|
|
target_link_libraries(dNet PRIVATE bcrypt)
|
2024-01-04 00:41:46 +00:00
|
|
|
target_include_directories(dNet PRIVATE
|
2024-01-04 01:58:51 +00:00
|
|
|
${PROJECT_SOURCE_DIR}/dCommon
|
|
|
|
${PROJECT_SOURCE_DIR}/dCommon/dEnums
|
|
|
|
|
|
|
|
${PROJECT_SOURCE_DIR}/dZoneManager
|
2024-01-04 02:20:06 +00:00
|
|
|
|
2024-01-04 01:58:51 +00:00
|
|
|
${PROJECT_SOURCE_DIR}/dDatabase/CDClientDatabase
|
|
|
|
${PROJECT_SOURCE_DIR}/dDatabase/CDClientDatabase/CDClientTables
|
|
|
|
${PROJECT_SOURCE_DIR}/dDatabase/GameDatabase
|
|
|
|
${PROJECT_SOURCE_DIR}/dDatabase/GameDatabase/ITables
|
|
|
|
${PROJECT_SOURCE_DIR}/thirdparty/mariadb-connector-cpp/include
|
|
|
|
|
2024-01-03 20:13:47 +00:00
|
|
|
${PROJECT_SOURCE_DIR}/dGame # UserManager.h
|
2024-01-04 00:41:46 +00:00
|
|
|
${PROJECT_SOURCE_DIR}/dGame/dComponents
|
2024-01-04 01:58:51 +00:00
|
|
|
${PROJECT_SOURCE_DIR}/dGame/dEntity # via dZoneManager
|
2024-01-03 20:13:47 +00:00
|
|
|
${PROJECT_SOURCE_DIR}/dGame/dGameMessages # GameMessages.h
|
|
|
|
${PROJECT_SOURCE_DIR}/dGame/dInventory # via PossessableComponent.h
|
|
|
|
${PROJECT_SOURCE_DIR}/dGame/dUtilities # via Item.h
|
2024-01-04 00:41:46 +00:00
|
|
|
${PROJECT_SOURCE_DIR}/dScripts # transitive through components
|
|
|
|
)
|
2024-01-04 01:58:51 +00:00
|
|
|
|
|
|
|
#set_property(TARGET dNet APPEND PROPERTY INTERFACE_LINK_LIBRARIES
|
|
|
|
# dCommon dDatabase
|
|
|
|
#)
|