mirror of
https://github.com/thunderbrewhq/binana.git
synced 2026-04-27 03:03:52 +00:00
feat(build): implement Clangd support && add lua symbols
This commit is contained in:
parent
6163593844
commit
e79ee08905
78 changed files with 399 additions and 5445 deletions
11
script/setup-clangd-profile
Executable file
11
script/setup-clangd-profile
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
PROFILE=$1
|
||||
cp cmake/CMakeLists.txt profile/$PROFILE/CMakeLists.txt
|
||||
cp cmake/entry.c profile/$PROFILE/entry.c
|
||||
mkdir -p build/$PROFILE && cd build/$PROFILE
|
||||
cmake ../../profile/$PROFILE
|
||||
mv compile_commands.json ../../profile/$PROFILE/compile_commands.json
|
||||
cd ../..
|
||||
# rm profile/$PROFILE/CMakeLists.txt
|
||||
rm profile/$PROFILE/entry.c
|
||||
Loading…
Add table
Add a link
Reference in a new issue