mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-24 22:47:25 +00:00
17 lines
410 B
CMake
17 lines
410 B
CMake
set(DPHYSICS_SOURCES "dpCollisionChecks.cpp"
|
|
"dpEntity.cpp"
|
|
"dpGrid.cpp"
|
|
"dpShapeBase.cpp"
|
|
"dpShapeBox.cpp"
|
|
"dpShapeSphere.cpp"
|
|
"dpWorld.cpp")
|
|
|
|
add_library(dPhysics STATIC ${DPHYSICS_SOURCES})
|
|
target_include_directories(dPhysics PUBLIC "."
|
|
"${PROJECT_SOURCE_DIR}/dCommon"
|
|
"${PROJECT_SOURCE_DIR}/dCommon/dEnums"
|
|
)
|
|
target_link_libraries(dPhysics
|
|
PUBLIC fmt Recast Detour
|
|
INTERFACE dNavigation dCommon)
|