Files
DisplayFlow/scripts/setup_dependencies.bat

28 lines
594 B
Batchfile
Raw Normal View History

2025-12-12 21:54:52 +08:00
@echo off
REM 依赖安装脚本Windows
echo Setting up DisplayFlow dependencies...
REM 检查 CMake 版本
cmake --version
if errorlevel 1 (
echo Error: CMake is not installed or not in PATH
exit /b 1
)
REM 检查是否使用 vcpkg
if exist "vcpkg" (
echo Using vcpkg for dependency management
call vcpkg\bootstrap-vcpkg.bat
vcpkg\vcpkg.exe install flatbuffers:x64-windows
echo Dependencies installed via vcpkg
) else (
echo Dependencies will be fetched via CMake FetchContent
echo No manual installation required
)
echo Dependency setup complete!