Files
DisplayFlow/scripts/setup_dependencies.bat
huanglinhuan 91ae52eeb3 暂存文件
2025-12-12 21:54:52 +08:00

28 lines
594 B
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@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!