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.
20 lines
284 B
CMake
20 lines
284 B
CMake
set(HEADERS
|
|
polymodel.h)
|
|
set(CPPS
|
|
newstyle.cpp
|
|
polymodel.cpp
|
|
)
|
|
|
|
add_library(model STATIC ${HEADERS} ${CPPS})
|
|
target_link_libraries(model PRIVATE
|
|
cfile
|
|
mem
|
|
misc
|
|
physics
|
|
)
|
|
target_include_directories(model PUBLIC
|
|
$<BUILD_INTERFACE:
|
|
${PROJECT_SOURCE_DIR}/model
|
|
>
|
|
)
|