Skip to content
Snippets Groups Projects
Commit 8daff615 authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Merge branch 'fix/export-compile-commands' into 'main'

Fix: enable `CMAKE_EXPORT_COMPILE_COMMANDS`

Closes #1

See merge request !1
parents fe86c79d 4dd3da79
No related branches found
No related tags found
1 merge request!1Fix: enable `CMAKE_EXPORT_COMPILE_COMMANDS`
...@@ -17,6 +17,7 @@ include_guard () ...@@ -17,6 +17,7 @@ include_guard ()
#]=======================================================================] #]=======================================================================]
macro (init_project) macro (init_project)
set (CMAKE_DEBUG_POSTFIX "-d") set (CMAKE_DEBUG_POSTFIX "-d")
set (CMAKE_EXPORT_COMPILE_COMMANDS TRUE)
# Set the install root folder if not specified by the user # Set the install root folder if not specified by the user
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment