feat: setup justfile to generate files required by clangd in nvim
This commit is contained in:
parent
3825c0e0bb
commit
a895e34ce7
3 changed files with 7 additions and 1 deletions
5
.clangd
Normal file
5
.clangd
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
CompileFlags:
|
||||
Add:
|
||||
- "-Ibuild/_deps/sfml-src/include/"
|
||||
- "-Ibuild/_deps/imgui-src/"
|
||||
- "-Ibuild/_deps/imgui-sfml-src/"
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -7,3 +7,4 @@ bin/
|
|||
*.kdev4
|
||||
# Ignore run artefacts
|
||||
imgui.ini
|
||||
compile_commands.json
|
||||
|
|
|
|||
2
justfile
2
justfile
|
|
@ -5,7 +5,7 @@ set-project-name projectname:
|
|||
rm -rf build bin
|
||||
|
||||
generate:
|
||||
cmake -S. -Bbuild
|
||||
cmake -S. -Bbuild -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
|
||||
rebuild:
|
||||
cmake --build build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue