remove conan.

This commit is contained in:
2026-03-12 19:51:25 +08:00
parent 8f6430a836
commit 4d8787d48e
2 changed files with 6 additions and 35 deletions

View File

@@ -1,32 +1,23 @@
@echo off
setlocal enabledelayedexpansion
where conan >nul 2>nul
where cmake >nul 2>nul
if errorlevel 1 (
echo conan not installed, pip install conan
echo cmake not installed.
pause
exit /b 1
)
conan install . -s build_type=Release --build=missing
cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=%VCPKG_ROOT%\scripts\buildsystems\vcpkg.cmake -DCMAKE_BUILD_TYPE=Release
if errorlevel 1 (
echo install package failed.
config failed.
pause
exit /b 1
)
call %~dp0build\Release\generators\conanbuild.bat
cmake --preset=conan-release
cmake --build build --config Release
if errorlevel 1 (
echo config failed.
cd ..
pause
exit /b 1
)
cmake --build --preset=conan-release
if errorlevel 1 (
echo build failed.
cd ..
build failed.
pause
exit /b 1
)