diff options
author | Manuel Klimek <klimek@google.com> | 2011-01-14 23:16:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-04-25 17:27:58 (GMT) |
commit | 5674844de4b74d0b66cfc6b8237e631702c43637 (patch) | |
tree | 509512a733230141934d6464982d5438068f2602 /Modules/CMakeGenericSystem.cmake | |
parent | fe07b0557b0b6cc47c29547d9c1d30a2b440fcd8 (diff) | |
download | CMake-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.cmake | 3 |
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") |