chore: add basic stuff for LSP (clangd) (#3516)

* chore: add basic stuff for LSP (clangd)

* Newline
This commit is contained in:
Raphael Coeffic
2023-04-24 16:52:31 +10:00
committed by GitHub
parent 909fb020ba
commit 438fd0bd73
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -11,3 +11,5 @@ cmake-build-*/
radio/src/tests/googletest*
radio/src/tests/gtest*.tar.gz
.editorconfig
.cache
compile_commands.json
+1
View File
@@ -31,6 +31,7 @@ if(POLICY CMP0058)
endif()
set(CMAKE_COLOR_MAKEFILE ON)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_CXX_STANDARD 11)
add_definitions(-D_GLIBCXX_USE_C99=1) # proper to_string definition