浏览代码

ENH: adde dback in CMAKE_VERBOSE_MAKEFILE that was acc removed

Ken Martin 20 年之前
父节点
当前提交
165d70803f
共有 1 个文件被更改,包括 5 次插入1 次删除
  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