Skip to content

Commit

Permalink
Merge pull request #1134 from charlesnicholson/quiet-cmake
Browse files Browse the repository at this point in the history
Add CMake option for quieter configuration
  • Loading branch information
basvodde committed Dec 5, 2017
2 parents 7562465 + d2886e8 commit ccd7cb4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Expand Up @@ -50,6 +50,8 @@ option(WERROR "Compile with warnings as errors" OFF)
option(TESTS "Compile and make tests for the code?" ON)
option(TESTS_DETAILED "Run each test separately instead of grouped?" OFF)

option(VERBOSE_CONFIG "Print configuration to stdout during generation" ON)

if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "What kind of build this is" FORCE)
endif(NOT CMAKE_BUILD_TYPE)
Expand Down Expand Up @@ -151,7 +153,8 @@ else()
" or write generators for CppUTestConfig.cmake by yourself.")
endif()

message("
if(VERBOSE_CONFIG)
message("
-------------------------------------------------------
CppUTest Version ${CppUTest_version_major}.${CppUTest_version_minor}
Expand Down Expand Up @@ -180,3 +183,4 @@ Features configured in CppUTest:
-------------------------------------------------------
")
endif()

0 comments on commit ccd7cb4

Please sign in to comment.