mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
fix: more include changes
This commit is contained in:
@@ -19,13 +19,19 @@ link_libraries(dDatabase dPhysics)
|
||||
|
||||
add_library(dScriptsBase STATIC ${DSCRIPTS_SOURCES})
|
||||
target_include_directories(dScriptsBase PUBLIC .)
|
||||
target_link_libraries(dScriptsBase
|
||||
INTERFACE dGameBase)
|
||||
target_link_libraries(dScriptsBase INTERFACE dGameBase)
|
||||
target_precompile_headers(dScriptsBase PRIVATE ${HEADERS_DGAME})
|
||||
|
||||
include_directories(
|
||||
${PROJECT_SOURCE_DIR}/dScripts
|
||||
${PROJECT_SOURCE_DIR}/dGame
|
||||
"${PROJECT_SOURCE_DIR}/dScripts"
|
||||
"${PROJECT_SOURCE_DIR}/dGame"
|
||||
"${PROJECT_SOURCE_DIR}/dGame/dComponents" # e.g. ScriptedActivityComponent.h
|
||||
"${PROJECT_SOURCE_DIR}/dGame/dGameMessages" # e.g. direct ActivityManager
|
||||
"${PROJECT_SOURCE_DIR}/dGame/dUtilities" # e.g. direct ActivityManager
|
||||
"${PROJECT_SOURCE_DIR}/dGame/dEntity" # via dZoneManager.h
|
||||
"${PROJECT_SOURCE_DIR}/dGame/dMission" # via MissionComponent.h
|
||||
"${PROJECT_SOURCE_DIR}/dGame/dBehaviors" # viaInventoryComponent.h
|
||||
"${PROJECT_SOURCE_DIR}/dGame/dInventory" # via InventoryComponent.h
|
||||
)
|
||||
link_libraries(dScriptsBase)
|
||||
# dComponents
|
||||
|
Reference in New Issue
Block a user