Enable generation of compile_commands.json (#1938)

This commit is contained in:
Timo Suoranta 2019-10-22 07:38:04 +03:00 committed by John Kessenich
parent f57feff786
commit 5e634c8999

View File

@ -6,6 +6,9 @@ if (POLICY CMP0048)
endif()
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# Enable compile commands database
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# Adhere to GNU filesystem layout conventions
include(GNUInstallDirs)