Jelajahi Sumber

ENH: adde dback in CMAKE_VERBOSE_MAKEFILE that was acc removed

Ken Martin 20 tahun lalu
induk
melakukan
165d70803f
1 mengubah file dengan 5 tambahan dan 1 penghapusan
  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