Descent3/physics/CMakeLists.txt
Louis Gombert 60c5dbf1fe CMake: add all headers to target sources
This can help with CMake IDE integration and file indexing.
2024-08-09 17:09:14 +02:00

26 lines
382 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
)
target_include_directories(physics PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/physics
>
)