Commit 5e634c89 by Timo Suoranta Committed by John Kessenich

Enable generation of compile_commands.json (#1938)

parent f57feff7
...@@ -6,6 +6,9 @@ if (POLICY CMP0048) ...@@ -6,6 +6,9 @@ if (POLICY CMP0048)
endif() endif()
set_property(GLOBAL PROPERTY USE_FOLDERS ON) set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# Enable compile commands database
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# Adhere to GNU filesystem layout conventions # Adhere to GNU filesystem layout conventions
include(GNUInstallDirs) include(GNUInstallDirs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment