[Cmake-commits] [cmake-commits] king committed CMakeGenericSystem.cmake 1.20 1.21

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Mar 16 16:22:21 EDT 2009


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv6544/Modules

Modified Files:
	CMakeGenericSystem.cmake 
Log Message:
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.


Index: CMakeGenericSystem.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeGenericSystem.cmake,v
retrieving revision 1.20
retrieving revision 1.21
diff -C 2 -d -r1.20 -r1.21
*** CMakeGenericSystem.cmake	10 Jan 2009 01:18:25 -0000	1.20
--- CMakeGenericSystem.cmake	16 Mar 2009 20:22:19 -0000	1.21
***************
*** 34,37 ****
--- 34,40 ----
      )
    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")
  



More information about the Cmake-commits mailing list