Skip to content

Commit

Permalink
chore: add basic stuff for LSP (clangd) (#3516)
Browse files Browse the repository at this point in the history
* chore: add basic stuff for LSP (clangd)

* Newline
  • Loading branch information
raphaelcoeffic authored Apr 24, 2023
1 parent 909fb02 commit 438fd0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ cmake-build-*/
radio/src/tests/googletest*
radio/src/tests/gtest*.tar.gz
.editorconfig
.cache
compile_commands.json
1 change: 1 addition & 0 deletions cmake/GenericDefinitions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 438fd0b

Please sign in to comment.