Skip to content

Commit

Permalink
clangd
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanoHao committed Apr 2, 2021
1 parent 0138673 commit 2d26a42
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
BasedOnStyle: LLVM
IndentWidth: 4
TabWidth: 4
UseTab: ForIndentation
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.DS_Store
__pycache__
/.vscode
/.cache
/font-builder/src/*.otd
/font-builder/out
/build
/release
/compile_commands.json
4 changes: 4 additions & 0 deletions package/dev.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#!/bin/bash

rm -r build/ release/

cmake . -B build/ \
-DCMAKE_EXPORT_COMPILE_COMMANDS=1 \
-DCMAKE_BUILD_TYPE="RelWithDebugInfo"
cmake --build build/ -j$(nproc)

ln -s build/compile_commands.json .
source build/config/config.sh
VERSION=$VERSION-dev

Expand Down

0 comments on commit 2d26a42

Please sign in to comment.