Skip to content

Commit 7369d10

Browse files
authored
include generated config.hpp in the install (#24)
1 parent d6efb25 commit 7369d10

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ beman_iterator_check_deducing_this(COMPILER_SUPPORTS_DEDUCING_THIS)
2424
set(TARGETS_EXPORT_NAME ${CMAKE_PROJECT_NAME}Targets)
2525

2626
option(BEMAN_ITERATOR_INTERFACE_USE_DEDUCING_THIS
27-
"Make use of C++23 \"deducing this\" feature (P0847R7). Turn this off for non-conforming compilers."
28-
${COMPILER_SUPPORTS_DEDUCING_THIS})
27+
"Make use of C++23 \"deducing this\" feature (P0847R7). Turn this off for non-conforming compilers."
28+
${COMPILER_SUPPORTS_DEDUCING_THIS})
2929

3030
option(ITERATOR_INTERFACE_ENABLE_TESTING
3131
"Enable building tests and test infrastructure" ${PROJECT_IS_TOP_LEVEL})
@@ -93,3 +93,6 @@ add_custom_target(
9393
COMMENT "Running gcovr to process coverage results"
9494
COMMAND mkdir -p coverage
9595
COMMAND gcovr --config gcovr.cfg .)
96+
97+
install(FILES ${PROJECT_BINARY_DIR}/include/beman/iterator_interface/config.hpp
98+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/beman/iterator_interface)

0 commit comments

Comments
 (0)