cmake: Enable creation of the compile command database by default.

(cherry picked from commit 437a39c798)
This commit is contained in:
Andreas Schneider
2014-04-04 10:03:43 +02:00
parent 34ac4e4248
commit 67752dabfc

View File

@@ -25,3 +25,6 @@ if (NOT CMAKE_BUILD_TYPE)
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
)
endif (NOT CMAKE_BUILD_TYPE)
# Create the compile command database for clang by default
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)