all: yet more cleanups
This commit is contained in:
@@ -11,13 +11,20 @@ CompileFlags:
|
||||
Add:
|
||||
- -xc++
|
||||
---
|
||||
# common C++ flags
|
||||
# C++ flags
|
||||
If:
|
||||
PathMatch: [ src/.*\.h, src/.*\.cpp ]
|
||||
PathExclude: vendor/.*
|
||||
CompileFlags:
|
||||
Add:
|
||||
- -std=gnu++17
|
||||
---
|
||||
# common flags for all C/C++ files
|
||||
If:
|
||||
PathMatch: [ src/.*\.h, src/.*\.c, src/.*\.cpp ]
|
||||
PathExclude: vendor/.*
|
||||
CompileFlags:
|
||||
Add:
|
||||
# see https://github.com/clangd/clangd/issues/1038 : Support deterministic relative include path
|
||||
- -Ivendor
|
||||
- -I../vendor
|
||||
|
||||
Reference in New Issue
Block a user