mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-24 14:37:25 +00:00
5973430720
Wincent's attempt at making LU into something it isn't supposed to be, an ARPG.
77 lines
1.8 KiB
CMake
77 lines
1.8 KiB
CMake
set(DGAME_SOURCES "Character.cpp"
|
|
"Entity.cpp"
|
|
"EntityManager.cpp"
|
|
"LeaderboardManager.cpp"
|
|
"Player.cpp"
|
|
"TeamManager.cpp"
|
|
"TradingManager.cpp"
|
|
"User.cpp"
|
|
"UserManager.cpp")
|
|
|
|
add_subdirectory(dBehaviors)
|
|
|
|
foreach(file ${DGAME_DBEHAVIORS_SOURCES})
|
|
set(DGAME_SOURCES ${DGAME_SOURCES} "dBehaviors/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(dComponents)
|
|
|
|
foreach(file ${DGAME_DCOMPONENTS_SOURCES})
|
|
set(DGAME_SOURCES ${DGAME_SOURCES} "dComponents/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(dEntity)
|
|
|
|
foreach(file ${DGAME_DENTITY_SOURCES})
|
|
set(DGAME_SOURCES ${DGAME_SOURCES} "dEntity/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(dGameMessages)
|
|
|
|
foreach(file ${DGAME_DGAMEMESSAGES_SOURCES})
|
|
set(DGAME_SOURCES ${DGAME_SOURCES} "dGameMessages/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(dInventory)
|
|
|
|
foreach(file ${DGAME_DINVENTORY_SOURCES})
|
|
set(DGAME_SOURCES ${DGAME_SOURCES} "dInventory/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(dMission)
|
|
|
|
foreach(file ${DGAME_DMISSION_SOURCES})
|
|
set(DGAME_SOURCES ${DGAME_SOURCES} "dMission/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(dPropertyBehaviors)
|
|
|
|
foreach(file ${DGAME_DPROPERTYBEHAVIORS_SOURCES})
|
|
set(DGAME_SOURCES ${DGAME_SOURCES} "dPropertyBehaviors/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(dUtilities)
|
|
|
|
foreach(file ${DGAME_DUTILITIES_SOURCES})
|
|
set(DGAME_SOURCES ${DGAME_SOURCES} "dUtilities/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(dGrim)
|
|
|
|
foreach(file ${DGAME_DGRIM_SOURCES})
|
|
set(DGAME_SOURCES ${DGAME_SOURCES} "dGrim/${file}")
|
|
endforeach()
|
|
|
|
foreach(file ${DSCRIPTS_SOURCES})
|
|
set(DGAME_SOURCES ${DGAME_SOURCES} "${PROJECT_SOURCE_DIR}/dScripts/${file}")
|
|
endforeach()
|
|
|
|
foreach(file ${DZONEMANAGER_SOURCES})
|
|
message("Adding ${file}")
|
|
set(DGAME_SOURCES ${DGAME_SOURCES} "${PROJECT_SOURCE_DIR}/dZoneManager/${file}")
|
|
endforeach()
|
|
|
|
add_library(dGame STATIC ${DGAME_SOURCES})
|
|
|
|
target_link_libraries(dGame dDatabase Recast Detour)
|