diff options
| author | Manuel Klimek <klimek@google.com> | 2011-01-14 15:16:11 -0800 |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2011-04-25 13:27:58 -0400 |
| commit | 5674844de4b74d0b66cfc6b8237e631702c43637 (patch) | |
| tree | 509512a733230141934d6464982d5438068f2602 /Modules/CMakeGenericSystem.cmake | |
| parent | fe07b0557b0b6cc47c29547d9c1d30a2b440fcd8 (diff) | |
| download | cmake-5674844de4b74d0b66cfc6b8237e631702c43637.tar.gz | |
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 b5d30724ac..e64d0baa3b 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") |
