2024-01-04 00:41:46 +00:00
|
|
|
set(DGAME_DMISSION_SOURCES
|
|
|
|
"Mission.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"MissionPrerequisites.cpp"
|
2024-01-04 00:41:46 +00:00
|
|
|
"MissionTask.cpp")
|
|
|
|
|
2024-03-06 02:13:24 +00:00
|
|
|
add_library(dMission OBJECT ${DGAME_DMISSION_SOURCES})
|
2024-01-04 00:41:46 +00:00
|
|
|
target_link_libraries(dMission PUBLIC dDatabase)
|
2024-03-06 02:13:24 +00:00
|
|
|
target_include_directories(dMission PUBLIC "."
|
|
|
|
PRIVATE
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dComponents"
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dInventory" # via CharacterComponent.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dUtilities" # via CharacterComponent.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dGameMessages" # via LevelProgressionComponent.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dEntity" # via dZoneManager/Spawner.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dBehaviors" # via InventoryComponent.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dZoneManager" # via Mission.cpp, MissionTask.cpp
|
|
|
|
)
|
2024-01-04 00:41:46 +00:00
|
|
|
target_precompile_headers(dMission REUSE_FROM dGameBase)
|