1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-06-06 13:00:58 +03:00

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

This commit is contained in:
Andreas Schneider 2014-04-04 10:03:43 +02:00
parent b3e6d5df53
commit 437a39c798

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)