Descent3/model/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

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
>
)