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 /Modules/CMakeGenericSystem.cmake | |
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 'Modules/CMakeGenericSystem.cmake')
-rw-r--r-- | Modules/CMakeGenericSystem.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeGenericSystem.cmake b/Modules/CMakeGenericSystem.cmake index 2599f2b..7271114 100644 --- a/Modules/CMakeGenericSystem.cmake +++ b/Modules/CMakeGenericSystem.cmake @@ -33,6 +33,9 @@ IF(CMAKE_GENERATOR MATCHES "Makefiles") "Enable/Disable color output during build." ) MARK_AS_ADVANCED(CMAKE_COLOR_MAKEFILE) + IF(DEFINED CMAKE_RULE_PROGRESS) + SET_PROPERTY(GLOBAL PROPERTY RULE_PROGRESS ${CMAKE_RULE_PROGRESS}) + ENDIF(DEFINED CMAKE_RULE_PROGRESS) ENDIF(CMAKE_GENERATOR MATCHES "Makefiles") # Set a variable to indicate whether the value of CMAKE_INSTALL_PREFIX |