File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.16...3.22 )
1+ cmake_minimum_required (VERSION 3.16...3.23 )
22
33# set a default CXX standard used by the external tools like clang-tidy, cppcheck, etc.
44# You can later set fine-grained standards for each target using `target_compile_features`
@@ -38,7 +38,7 @@ project_options(
3838 # TODO(CK: should not installed with this option!) ENABLE_COVERAGE
3939 # TBD: ENABLE_PCH
4040 # TBD: PCH_HEADERS ${PCH_HEADERS}
41- ENABLE_DOXYGEN
41+ # NO(CK)! To slow! ENABLE_DOXYGEN
4242 # ENABLE_INTERPROCEDURAL_OPTIMIZATION
4343 # ENABLE_NATIVE_OPTIMIZATION
4444 # ENABLE_USER_LINKER
@@ -74,9 +74,10 @@ target_link_system_libraries(
7474enable_testing ()
7575add_test (NAME main COMMAND main)
7676
77- ### to get CMAKE_INSTALL_INCLUDEDIR
78- # NOTE: enable at least one language before including GNUInstallDirs.
79- include (GNUInstallDirs)
77+ if (NOT DEFINED CMAKE_INSTALL_INCLUDEDIR)
78+ # NOTE: enable at least one language before including GNUInstallDirs.
79+ include (GNUInstallDirs)
80+ endif ()
8081
8182# Header-only library
8283add_library (lib INTERFACE )
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.16...3.22 )
1+ cmake_minimum_required (VERSION 3.16...3.23 )
22
33set (CMAKE_CXX_STANDARD 20)
44
@@ -23,11 +23,11 @@ project_options(
2323 # ENABLE_COVERAGE
2424 # ENABLE_PCH
2525 # PCH_HEADERS <Eigen/Dense> <fmt/core.h> <vector> <utility> <string> <string_view>
26- ENABLE_DOXYGEN
26+ # XXX ENABLE_DOXYGEN
2727 DOXYGEN_THEME
2828 "${CMAKE_CURRENT_LIST_DIR} /css/my_custom_theme.css"
2929 "${CMAKE_CURRENT_LIST_DIR} /css/my_custom_theme_extra.css"
30- ENABLE_INTERPROCEDURAL_OPTIMIZATION
30+ # ENABLE_INTERPROCEDURAL_OPTIMIZATION
3131 # ENABLE_USER_LINKER
3232 # ENABLE_BUILD_WITH_TIME_TRACE
3333 # ENABLE_UNITY
You can’t perform that action at this time.
0 commit comments