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

15 lines
283 B
CMake

set(HEADERS
rtperformance.h)
set(CPPS
rtperformance.cpp)
add_library(rtperformance STATIC ${HEADERS} ${CPPS})
target_link_libraries(rtperformance PRIVATE
ddio
)
target_include_directories(rtperformance PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/rtperformance
>
)