Add options for better clangd support (#836)

Fixes #839
This commit is contained in:
Sergey Kuznetsov
2023-09-11 17:53:30 +01:00
committed by GitHub
parent 59cd2ce5aa
commit 71e1637c5f
2 changed files with 2 additions and 0 deletions

View File

@@ -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")
# ========================================================================== #