diff options
author | Brad King <brad.king@kitware.com> | 2009-03-16 20:22:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-03-16 20:22:19 (GMT) |
commit | 2f651c2e59d4b4fcb46ac6ad293332db99f430f3 (patch) | |
tree | 54474c321bc5ff0381ad70bc419a2e3e8bc41ac1 /Source/cmake.cxx | |
parent | 741ae600c411f9226b5e44dfd7319741987d5181 (diff) | |
download | CMake-2f651c2e59d4b4fcb46ac6ad293332db99f430f3.zip CMake-2f651c2e59d4b4fcb46ac6ad293332db99f430f3.tar.gz CMake-2f651c2e59d4b4fcb46ac6ad293332db99f430f3.tar.bz2 |
ENH: Allow projects to disable per-rule progress
This creates global property RULE_PROGRESS which can be set to disbale
per-rule progress reporting. On Windows, progress reports may cause a
noticable delay due to the cost of starting an extra process. This
feature will allow scripted builds to avoid the cost since they do not
need detailed progress anyway. See issue #8726.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 5cabc22..33265a3 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -3454,6 +3454,20 @@ void cmake::DefineProperties(cmake *cm) "with high granularity. " "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. " + "If the property is not set the default is ON. " + "Set the property to OFF to disable granular progress 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 " + "the value of this property. " + "Non-Makefile generators currently ignore this property."); + // ================================================================ // define variables as well // ================================================================ |