26 lines
519 B
Text
26 lines
519 B
Text
|
|
CompileFlags:
|
||
|
|
# General flags for all files
|
||
|
|
Add: [-Wall]
|
||
|
|
|
||
|
|
# Configuration block for C++ files
|
||
|
|
---
|
||
|
|
If:
|
||
|
|
PathMatch: .*/.cc
|
||
|
|
CompileFlags:
|
||
|
|
CompilationDatabase: "cmake"
|
||
|
|
# Add: [
|
||
|
|
# # path to your include folder
|
||
|
|
# -I/usr/shar/include,
|
||
|
|
# # or path to your header file
|
||
|
|
# # --include=E:\path\to\your\file\file.h,
|
||
|
|
# # you can include other clang flags (clang NOT clangd!)
|
||
|
|
# -std=c++20,
|
||
|
|
# ]
|
||
|
|
|
||
|
|
# Configuration block for C files (optional)
|
||
|
|
---
|
||
|
|
If:
|
||
|
|
PathMatch: .*/.c
|
||
|
|
CompileFlags:
|
||
|
|
Add: [-std=c11]
|