feat(build): implement Clangd support && add lua symbols

This commit is contained in:
phaneron 2026-04-01 17:36:35 -04:00
parent 6163593844
commit e79ee08905
78 changed files with 399 additions and 5445 deletions

11
script/setup-clangd-profile Executable file
View 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

0
script/sort-symbol-file Normal file → Executable file
View file