summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-07-19 15:48:34 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-07-19 15:48:34 (GMT)
commit004b833d12110933bb80c7c0ee982036a27e860d (patch)
treec39111ba4b9a448b0b1b74a55aa82e306f4af7ec /Modules
parent5cc08c658d2fdfad8a157f4382ea88e1245f1263 (diff)
downloadCMake-004b833d12110933bb80c7c0ee982036a27e860d.zip
CMake-004b833d12110933bb80c7c0ee982036a27e860d.tar.gz
CMake-004b833d12110933bb80c7c0ee982036a27e860d.tar.bz2
ENH: make KDevelop3 default to CMAKE_VERBOSE_MAKEFILE
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeGenericSystem.cmake8
1 files changed, 6 insertions, 2 deletions
diff --git a/Modules/CMakeGenericSystem.cmake b/Modules/CMakeGenericSystem.cmake
index 41ccd11..df118cc 100644
--- a/Modules/CMakeGenericSystem.cmake
+++ b/Modules/CMakeGenericSystem.cmake
@@ -24,8 +24,12 @@ 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.")
+SET(CMAKE_INIT_VALUE FALSE)
+MESSAGE("GENERATED ${CMAKE_GENERATOR}")
+IF(CMAKE_GENERATOR MATCHES "KDevelop3")
+ SET(CMAKE_INIT_VALUE TRUE)
+ENDIF(CMAKE_GENERATOR MATCHES "KDevelop3")
+SET(CMAKE_VERBOSE_MAKEFILE ${CMAKE_INIT_VALUE} 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)