mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
60c5dbf1fe
This can help with CMake IDE integration and file indexing.
26 lines
382 B
CMake
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
|
|
>
|
|
)
|