Bläddra i källkod

ENH: adde dback in CMAKE_VERBOSE_MAKEFILE that was acc removed

Ken Martin 20 år sedan
förälder
incheckning
165d70803f
1 ändrade filer med 5 tillägg och 1 borttagningar
  1. 5 1
      Modules/CMakeGenericSystem.cmake

+ 5 - 1
Modules/CMakeGenericSystem.cmake

@@ -24,6 +24,9 @@ ENDIF(CMAKE_COMPILER_IS_GNUCXX)
 SET (CMAKE_SKIP_RPATH "NO" CACHE BOOL
      "If set, runtime paths are not added when using shared libraries.")
 
+   
+SET(CMAKE_VERBOSE_MAKEFILE FALSE CACHE BOOL "If this value is on, makefiles will be generated without the .SILENT directive, and all commands will be echoed to the console during the make.  This is useful for debugging only. With Visual Studio IDE projects all commands are done without /nologo.") 
+
 # Choose a default install prefix for this platform.
 IF(UNIX)
   SET(CMAKE_INSTALL_PREFIX "/usr/local"
@@ -42,7 +45,8 @@ ELSE(UNIX)
 ENDIF(UNIX)
 
 MARK_AS_ADVANCED(
-CMAKE_SKIP_RPATH
+  CMAKE_SKIP_RPATH
+  CMAKE_VERBOSE_MAKEFILE
 )
 
 # always include the gcc compiler information