summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-03-16 20:55:58 (GMT)
committerBrad King <brad.king@kitware.com>2009-03-16 20:55:58 (GMT)
commit493f88ce553ec7e39db83bd1bdf5c0896420c52d (patch)
tree12ff5faa0dff23b7e0b667a30da972d0d7673744 /Source/cmake.cxx
parent49dec94f54c6c896b2d42f6bea0b36bd429693c9 (diff)
downloadCMake-493f88ce553ec7e39db83bd1bdf5c0896420c52d.zip
CMake-493f88ce553ec7e39db83bd1bdf5c0896420c52d.tar.gz
CMake-493f88ce553ec7e39db83bd1bdf5c0896420c52d.tar.bz2
ENH: Allow projects to disable per-rule echo lines
This creates global property RULE_MESSAGES which can be set to disbale per-rule progress and action reporting. On Windows, these reports may cause a noticable delay due to the cost of starting extra processes. This feature will allow scripted builds to avoid the cost since they do not need detailed information anyway. This replaces the RULE_PROGRESS property created earlier as it is more complete. See issue #8726.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 33265a3..df528e2 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -3455,16 +3455,16 @@ void cmake::DefineProperties(cmake *cm)
"Non-Makefile generators currently ignore this property.");
cm->DefineProperty
- ("RULE_PROGRESS", cmProperty::GLOBAL,
- "Specify whether to report progress for each make rule.",
- "Makefile generators add commands to report progress. "
- "This property specifies whether to report progress on every rule. "
+ ("RULE_MESSAGES", cmProperty::GLOBAL,
+ "Specify whether to report a message for each make rule.",
+ "This property specifies whether Makefile generators should add a "
+ "progress message describing what each build rule does. "
"If the property is not set the default is ON. "
- "Set the property to OFF to disable granular progress and report only "
+ "Set the property to OFF to disable granular messages and report only "
"as each target completes. "
"This is intended to allow scripted builds to avoid the build time "
- "cost of detailed progress reports. "
- "If a CMAKE_RULE_PROGRESS cache entry exists its value initializes "
+ "cost of detailed reports. "
+ "If a CMAKE_RULE_MESSAGES cache entry exists its value initializes "
"the value of this property. "
"Non-Makefile generators currently ignore this property.");