diff --git a/.gitignore b/.gitignore index ff358dd8..ea897633 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *clio*.log build*/ .build +.cache .vscode .python-version CMakeUserPresets.json diff --git a/CMakeLists.txt b/CMakeLists.txt index 95370289..43a1d60f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,7 @@ option (coverage "Build test coverage report" FALSE) option (packaging "Create distribution packages" FALSE) # ========================================================================== # set (san "" CACHE STRING "Add sanitizer instrumentation") +set (CMAKE_EXPORT_COMPILE_COMMANDS TRUE) set_property (CACHE san PROPERTY STRINGS ";undefined;memory;address;thread") # ========================================================================== #