mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 10:18:21 +00:00
d283bbd1c4
* fix: split apart big Cmake libraries * fix: formatting * fix: newline * fix: add quotes
14 lines
448 B
CMake
14 lines
448 B
CMake
set(DSCRIPTS_SOURCES_AI_PROPERTY
|
|
"AgPropguards.cpp"
|
|
"PropertyFXDamage.cpp")
|
|
|
|
add_subdirectory(AG)
|
|
|
|
foreach(file ${DSCRIPTS_SOURCES_AI_PROPERTY_AG})
|
|
set(DSCRIPTS_SOURCES_AI_PROPERTY ${DSCRIPTS_SOURCES_AI_PROPERTY} "AG/${file}")
|
|
endforeach()
|
|
|
|
add_library(dScriptsAiProperty STATIC ${DSCRIPTS_SOURCES_AI_PROPERTY})
|
|
target_include_directories(dScriptsAiProperty PUBLIC "." "AG")
|
|
target_precompile_headers(dScriptsAiProperty REUSE_FROM dScriptsBase)
|