Add trigdx_config.hpp and trigdx.hpp header files

This commit is contained in:
Bram Veenboer
2025-08-12 13:54:13 +02:00
parent e9a74ef283
commit 2f39c5c86e
10 changed files with 38 additions and 6 deletions

View File

@@ -10,6 +10,10 @@ option(TRIGDX_USE_XSIMD "Enable XSIMD backend" OFF)
option(TRIGDX_BUILD_TESTS "Build tests" ON)
option(TRIGDX_BUILD_BENCHMARKS "Build tests" ON)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/cmake/trigdx_config.hpp.in
${CMAKE_CURRENT_BINARY_DIR}/include/trigdx/trigdx_config.hpp @ONLY)
if(TRIGDX_BUILD_TESTS OR TRIGDX_BUILD_BENCHMARKS)
include(FetchContent)
endif()