Accomodate clangd workflow

This commit is contained in:
Andreas Tsouchlos 2024-02-23 17:59:22 +01:00
parent da6a2d9d28
commit 4c36dc99ed
3 changed files with 8 additions and 0 deletions

4
.clangd Normal file
View File

@ -0,0 +1,4 @@
CompileFlags:
Add: [-std=c++20]
Remove: ['-fno-shrink-wrap', '-fstrict-volatile-bitfields', '-fno-tree-switch-conversion']

2
.gitignore vendored
View File

@ -13,3 +13,5 @@ cmake-build-relwithdebinfo
cmake-build-debug-docker/
cmake-build-release-docker/
cmake-build-relwithdebinfo-docker/
.cache/

View File

@ -2,5 +2,7 @@ cmake_minimum_required(VERSION 3.16)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(HyperLink)