mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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.
This commit is contained in:
committed by
Brad King
parent
d560b46f52
commit
1d3984780d
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user