Descent3/physics/CMakeLists.txt
2024-09-10 03:00:25 +03:00

27 lines
395 B
CMake

set(HEADERS
collide.h
findintersection.h
physics.h)
set(CPPS
collide.cpp
findintersection.cpp
newstyle_fi.cpp
physics.cpp
)
add_library(physics STATIC ${HEADERS} ${CPPS})
target_link_libraries(physics PRIVATE
ddio
mem
misc
model
rtperformance
sndlib
plog::plog
)
target_include_directories(physics PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/physics
>
)