mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-23 05:57:20 +00:00
554a9a6806
* fix: more include changes * fix: remove dZoneManager from global include * fix: dDatabase * fix: dCommon * fix: object libs * fix: rebase * fix: bcrypt * wip: try simplified connector build * fix: update dockerfile * fix: mariadb C/C++ on apple * feat: Move scripts to CMAKE_MODULE_PATH * fix: dPropertyBehaviors * fix: macos? * fix: Dockerfile * fix: macos? * fix: macos? * fix: macos? * fix: macos? * fix: macos? * try: install_name_tool * fix not building on unix * fix include paths * Remove code changes Will fix in another PR. * format pass remove 2 more included directories. remove commented out code add status to messages * comments and format surround include directories with quotes remove commented out code remove debug messages * Update CMakeLists.txt --------- Co-authored-by: David Markowitz <EmosewaMC@gmail.com> Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com>
57 lines
1.6 KiB
CMake
57 lines
1.6 KiB
CMake
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY)
|
|
|
|
add_subdirectory(AG)
|
|
|
|
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_ENEMY_AG})
|
|
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY ${DSCRIPTS_SOURCES_02_SERVER_ENEMY} "AG/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(AM)
|
|
|
|
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_ENEMY_AM})
|
|
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY ${DSCRIPTS_SOURCES_02_SERVER_ENEMY} "AM/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(FV)
|
|
|
|
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_ENEMY_FV})
|
|
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY ${DSCRIPTS_SOURCES_02_SERVER_ENEMY} "FV/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(General)
|
|
|
|
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_ENEMY_GENERAL})
|
|
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY ${DSCRIPTS_SOURCES_02_SERVER_ENEMY} "General/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(Survival)
|
|
|
|
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_ENEMY_SURVIVAL})
|
|
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY ${DSCRIPTS_SOURCES_02_SERVER_ENEMY} "Survival/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(VE)
|
|
|
|
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_ENEMY_VE})
|
|
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY ${DSCRIPTS_SOURCES_02_SERVER_ENEMY} "VE/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(Waves)
|
|
|
|
foreach(file ${DSCRIPTS_SOURCES_02_SERVER_ENEMY_WAVES})
|
|
set(DSCRIPTS_SOURCES_02_SERVER_ENEMY ${DSCRIPTS_SOURCES_02_SERVER_ENEMY} "Waves/${file}")
|
|
endforeach()
|
|
|
|
add_library(dScriptsServerEnemy OBJECT ${DSCRIPTS_SOURCES_02_SERVER_ENEMY})
|
|
target_link_libraries(dScriptsServerEnemy dScriptsBase)
|
|
target_include_directories(dScriptsServerEnemy PUBLIC "."
|
|
"AG"
|
|
"AM"
|
|
"FV"
|
|
"General"
|
|
"Survival"
|
|
"VE"
|
|
"Waves"
|
|
)
|
|
target_precompile_headers(dScriptsServerEnemy REUSE_FROM dScriptsBase)
|