summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeGenericSystem.cmake
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2011-01-14 23:16:11 (GMT)
committerBrad King <brad.king@kitware.com>2011-04-25 17:27:58 (GMT)
commit5674844de4b74d0b66cfc6b8237e631702c43637 (patch)
tree509512a733230141934d6464982d5438068f2602 /Modules/CMakeGenericSystem.cmake
parentfe07b0557b0b6cc47c29547d9c1d30a2b440fcd8 (diff)
downloadCMake-5674844de4b74d0b66cfc6b8237e631702c43637.zip
CMake-5674844de4b74d0b66cfc6b8237e631702c43637.tar.gz
CMake-5674844de4b74d0b66cfc6b8237e631702c43637.tar.bz2
make compile command output optional
Diffstat (limited to 'Modules/CMakeGenericSystem.cmake')
-rw-r--r--Modules/CMakeGenericSystem.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeGenericSystem.cmake b/Modules/CMakeGenericSystem.cmake
index b5d3072..e64d0ba 100644
--- a/Modules/CMakeGenericSystem.cmake
+++ b/Modules/CMakeGenericSystem.cmake
@@ -50,6 +50,9 @@ IF(CMAKE_GENERATOR MATCHES "Makefiles")
IF(DEFINED CMAKE_RULE_MESSAGES)
SET_PROPERTY(GLOBAL PROPERTY RULE_MESSAGES ${CMAKE_RULE_MESSAGES})
ENDIF(DEFINED CMAKE_RULE_MESSAGES)
+ SET(CMAKE_EXPORT_COMPILE_COMMANDS OFF CACHE BOOL
+ "Enable/Disable output of compile commands during generation."
+ )
ENDIF(CMAKE_GENERATOR MATCHES "Makefiles")