Skip to content

Commit

Permalink
Adapt code to book
Browse files Browse the repository at this point in the history
  • Loading branch information
bernedom committed Jul 3, 2024
1 parent bbdda90 commit da6ef81
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chapter06/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

cmake_minimum_required(VERSION 3.23)

option(ENABLE_DOCUMENTATION "Enable documentation" OFF)
option(ENABLE_DOCUMENTATION "Enable documentation" ON)

if(NOT ENABLE_DOCUMENTATION)
message(STATUS "Documentation is disabled, excluded chapter 6 documentation examples")
Expand Down
2 changes: 1 addition & 1 deletion chapter06/ex01_doxdocgen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ set(DOXYGEN_AUTOLINK_SUPPORT YES)
# Enable dot graph support
set(DOXYGEN_HAVE_DOT YES)
# Include collaboration diagrams in class documentation
set(DOXYGEN_COLLABORATION_GRAPH NO)
set(DOXYGEN_COLLABORATION_GRAPH YES)
# Include class diagrams in class documentation
set(DOXYGEN_CLASS_GRAPH YES)
# Generate UML-like graphs
Expand Down
2 changes: 2 additions & 0 deletions chapter07/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ project(
LANGUAGES CXX
)

include(CTest)

add_subdirectory(simple_test)
add_subdirectory(test_labels)
add_subdirectory(pass_fail_criteria)
Expand Down

0 comments on commit da6ef81

Please sign in to comment.