Enable generation of compile_commands.json (#1938)
This commit is contained in:
parent
f57feff786
commit
5e634c8999
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue