mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-27 07:57:21 +00:00
22 lines
779 B
CMake
22 lines
779 B
CMake
set(DZONEMANAGER_SOURCES "dZoneManager.cpp"
|
|
"Level.cpp"
|
|
"Spawner.cpp"
|
|
"Zone.cpp")
|
|
|
|
add_library(dZoneManager OBJECT ${DZONEMANAGER_SOURCES})
|
|
target_link_libraries(dZoneManager
|
|
PRIVATE dDatabaseCDClient
|
|
PUBLIC dPhysics)
|
|
|
|
#set_property(TARGET dZoneManager APPEND PROPERTY INTERFACE_LINK_LIBRARIES dWorldServer)
|
|
|
|
target_include_directories(dZoneManager PUBLIC "."
|
|
${PROJECT_SOURCE_DIR}/dGame # Entity.h
|
|
${PROJECT_SOURCE_DIR}/dGame/dEntity # EntityInfo.h
|
|
PRIVATE
|
|
${PROJECT_SOURCE_DIR}/dGame/dComponents #InventoryComponent.h
|
|
${PROJECT_SOURCE_DIR}/dGame/dInventory #InventoryComponent.h (transitive)
|
|
${PROJECT_SOURCE_DIR}/dGame/dBehaviors #BehaviorSlot.h
|
|
${PROJECT_SOURCE_DIR}/dGame/dGameMessages #GameMessages.h
|
|
${PROJECT_SOURCE_DIR}/dGame/dUtilities #VanityUtilities.h
|
|
) |