refactor: 添加构建、测试和清理脚本,优化CMakeLists.txt

This commit is contained in:
youmetme committed 2025-07-08 17:16:02 +08:00
1 parent aecfbbb74a
commit 359c9f247a
2 files changed
+15 -16

No files matched your search

+11 -1
View File
@@ -3,4 +3,14 @@
.PHONY:format
format:
bash script/format.sh
bash script/format.sh
build:
cmake -S . -B build
cmake --build build
test: build
cd build && ctest
clean:
rm -rf build