chore: 工程工具 + CMake 修复
- tools/build.sh: 一键编译(支持 Release/Debug/ASan) - tools/run_tests.sh: 运行测试 - tools/release.sh: 发布打包 - tools/format.sh: 代码格式化 - tools/clean.sh: 清理构建产物 - 修复 CMakeLists.txt: vde_compile_options 顺序错误 - 修复 src/CMakeLists.txt: 移除重复配置行
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
BUILD_DIR="${BUILD_DIR:-build}"
|
||||
|
||||
if [ ! -d "$BUILD_DIR" ]; then
|
||||
echo "Build directory not found. Run tools/build.sh first."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "=== ViewDesignEngine Tests ==="
|
||||
cd "$BUILD_DIR"
|
||||
ctest --output-on-failure -j"$(nproc)" "$@"
|
||||
Reference in New Issue
Block a user