Skip to content

Commit

Permalink
[skip ci] 🧑‍💻 Support library & demos in .clangd
Browse files Browse the repository at this point in the history
  • Loading branch information
kammce committed Mar 22, 2024
1 parent b76940e commit 0983c63
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 5 deletions.
10 changes: 8 additions & 2 deletions .clangd
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
CompileFlags:
CompilationDatabase: build/Release
If:
PathMatch: demos/.*
CompileFlags:
CompilationDatabase: demos
Else:
CompileFlags:
CompilationDatabase: .

29 changes: 26 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,29 @@
*.out
*.app

**/build/*
**/CMakeUserPresets.json
*/.DS_Store
# IDEs
.vscode/
archives/

# GDB
.gdb_history

# Artifacts
build/
tools/

# lint artifacts
compile_commands.json

# OS files
.DS_Store

# Conan Files
graph_info.json
conaninfo.txt
conan.lock
conanbuildinfo.txt

# CMake
CMakeUserPresets.json

0 comments on commit 0983c63

Please sign in to comment.