summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMichael Ensslin <michael@ensslin.cc>2015-07-10 16:14:47 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-14 17:57:58 (GMT)
commit1d3984780df87c6963b0aae1c392a570c890161b (patch)
tree0630d92de77f41c12aa262f88e77c4d47bfbd4ac /Modules
parentd560b46f5232f84476d68d96d44e5e755d391090 (diff)
downloadCMake-1d3984780df87c6963b0aae1c392a570c890161b.zip
CMake-1d3984780df87c6963b0aae1c392a570c890161b.tar.gz
CMake-1d3984780df87c6963b0aae1c392a570c890161b.tar.bz2
Makefile: Optionally disable target completion messages in build output
Add a TARGET_MESSAGES property to control whether Makefile targets print the "Built target " completion messages. Default to ON to preserve existing behavior.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeGenericSystem.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeGenericSystem.cmake b/Modules/CMakeGenericSystem.cmake
index 730e780..5ae757d 100644
--- a/Modules/CMakeGenericSystem.cmake
+++ b/Modules/CMakeGenericSystem.cmake
@@ -52,6 +52,9 @@ if(CMAKE_GENERATOR MATCHES "Make")
if(DEFINED CMAKE_RULE_MESSAGES)
set_property(GLOBAL PROPERTY RULE_MESSAGES ${CMAKE_RULE_MESSAGES})
endif()
+ if(DEFINED CMAKE_TARGET_MESSAGES)
+ set_property(GLOBAL PROPERTY TARGET_MESSAGES ${CMAKE_TARGET_MESSAGES})
+ endif()
if(CMAKE_GENERATOR MATCHES "Unix Makefiles")
set(CMAKE_EXPORT_COMPILE_COMMANDS OFF CACHE BOOL
"Enable/Disable output of compile commands during generation."