Align documented commands with the CLI, enable optional GUI/test targets, and remove committed API secrets so the project is safer to build and run. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
16 lines
651 B
Batchfile
16 lines
651 B
Batchfile
@echo off
|
|
:: ============================================================
|
|
:: env.bat — 将 tools\ 内工具加入 PATH
|
|
:: ============================================================
|
|
|
|
set "TOOLS=%~dp0"
|
|
|
|
if exist "%TOOLS%cmake\bin" set "PATH=%TOOLS%cmake\bin;%PATH%"
|
|
if exist "%TOOLS%ninja" set "PATH=%TOOLS%ninja;%PATH%"
|
|
if exist "%TOOLS%llvm\bin" set "PATH=%TOOLS%llvm\bin;%PATH%"
|
|
if exist "%TOOLS%llvm\bin\clang.exe" set "CC=%TOOLS%llvm\bin\clang.exe"
|
|
if exist "%TOOLS%llvm\bin\clang++.exe" set "CXX=%TOOLS%llvm\bin\clang++.exe"
|
|
if exist "%TOOLS%conan2" set "PATH=%TOOLS%conan2;%PATH%"
|
|
|
|
echo [dstalk] tools\ 工具链已加载
|