Skip to content

Commit

Permalink
prevent long build time on OSX
Browse files Browse the repository at this point in the history
disable doxygen
rebased with master
tested with cmake 3.23 on OSX
  • Loading branch information
ClausKlein committed May 7, 2022
1 parent 95aefb0 commit 9662284
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
11 changes: 6 additions & 5 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16...3.22)
cmake_minimum_required(VERSION 3.16...3.23)

# set a default CXX standard used by the external tools like clang-tidy, cppcheck, etc.
# You can later set fine-grained standards for each target using `target_compile_features`
Expand Down Expand Up @@ -38,7 +38,7 @@ project_options(
# TODO(CK: should not installed with this option!) ENABLE_COVERAGE
# TBD: ENABLE_PCH
# TBD: PCH_HEADERS ${PCH_HEADERS}
ENABLE_DOXYGEN
# NO(CK)! To slow! ENABLE_DOXYGEN
# ENABLE_INTERPROCEDURAL_OPTIMIZATION
# ENABLE_NATIVE_OPTIMIZATION
# ENABLE_USER_LINKER
Expand Down Expand Up @@ -74,9 +74,10 @@ target_link_system_libraries(
enable_testing()
add_test(NAME main COMMAND main)

### to get CMAKE_INSTALL_INCLUDEDIR
# NOTE: enable at least one language before including GNUInstallDirs.
include(GNUInstallDirs)
if(NOT DEFINED CMAKE_INSTALL_INCLUDEDIR)
# NOTE: enable at least one language before including GNUInstallDirs.
include(GNUInstallDirs)
endif()

# Header-only library
add_library(lib INTERFACE)
Expand Down
6 changes: 3 additions & 3 deletions test_install/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16...3.22)
cmake_minimum_required(VERSION 3.16...3.23)

set(CMAKE_CXX_STANDARD 20)

Expand All @@ -23,11 +23,11 @@ project_options(
# ENABLE_COVERAGE
# ENABLE_PCH
# PCH_HEADERS <Eigen/Dense> <fmt/core.h> <vector> <utility> <string> <string_view>
ENABLE_DOXYGEN
# XXX ENABLE_DOXYGEN
DOXYGEN_THEME
"${CMAKE_CURRENT_LIST_DIR}/css/my_custom_theme.css"
"${CMAKE_CURRENT_LIST_DIR}/css/my_custom_theme_extra.css"
ENABLE_INTERPROCEDURAL_OPTIMIZATION
# ENABLE_INTERPROCEDURAL_OPTIMIZATION
# ENABLE_USER_LINKER
# ENABLE_BUILD_WITH_TIME_TRACE
# ENABLE_UNITY
Expand Down

0 comments on commit 9662284

Please sign in to comment.