DarkflameServer/dScripts/ai/ACT/CMakeLists.txt
2024-01-05 20:14:07 +01:00

15 lines
462 B
CMake

set(DSCRIPTS_SOURCES_AI_ACT
"ActMine.cpp"
"ActPlayerDeathTrigger.cpp"
"ActVehicleDeathTrigger.cpp")
add_subdirectory(FootRace)
foreach(file ${DSCRIPTS_SOURCES_AI_ACT_FOOTRACE})
set(DSCRIPTS_SOURCES_AI_ACT ${DSCRIPTS_SOURCES_AI_ACT} "FootRace/${file}")
endforeach()
add_library(dScriptsAiAct OBJECT ${DSCRIPTS_SOURCES_AI_ACT})
target_include_directories(dScriptsAiAct PUBLIC "." "FootRace")
target_precompile_headers(dScriptsAiAct REUSE_FROM dScriptsBase)