mirror of
https://github.com/suyu-emu/suyu-v0.0.4.git
synced 2026-09-21 14:17:36 -07:00
- Implement new commit message format standards for improved readability - Update vcpkg baseline and boost dependencies to version 1.88.0 - Fix vcpkg-cmake installation order
41 lines
1.2 KiB
Batchfile
41 lines
1.2 KiB
Batchfile
@echo off
|
|
REM SPDX-FileCopyrightText: 2024 suyu Emulator Project
|
|
REM SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
echo Cleaning boost components from vcpkg...
|
|
echo.
|
|
|
|
REM Check if vcpkg exists in externals directory
|
|
if exist "externals\vcpkg\vcpkg.exe" (
|
|
echo Using bundled vcpkg from externals directory...
|
|
set VCPKG_EXE=externals\vcpkg\vcpkg.exe
|
|
) else if exist "vcpkg\vcpkg.exe" (
|
|
echo Using vcpkg from current directory...
|
|
set VCPKG_EXE=vcpkg\vcpkg.exe
|
|
) else (
|
|
echo Error: vcpkg.exe not found. Please ensure vcpkg is installed.
|
|
echo Expected locations:
|
|
echo - externals\vcpkg\vcpkg.exe
|
|
echo - vcpkg\vcpkg.exe
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo Removing all boost components for x64-windows...
|
|
echo Command: %VCPKG_EXE% remove boost-uninstall:x64-windows --recurse
|
|
echo.
|
|
|
|
%VCPKG_EXE% remove boost-uninstall:x64-windows --recurse
|
|
|
|
if %ERRORLEVEL% neq 0 (
|
|
echo.
|
|
echo Warning: boost-uninstall command failed or no boost components were installed.
|
|
echo This is normal if boost components were not previously installed.
|
|
) else (
|
|
echo.
|
|
echo Boost components successfully removed.
|
|
)
|
|
|
|
echo.
|
|
echo Cleaning completed. You can now run vcpkg install to reinstall dependencies.
|
|
pause |