File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 11set WORKING_DIR = %CD%
22set CONFIG = %1
3+ set SCRIPT_DIR = %~dp0
34cd %~dp0
45if /I " %CONFIG% " == " " (set CONFIG=Release)
56
@@ -16,7 +17,10 @@ cd build
1617@ REM explicitly, but as we also pass it in here it will be used by the cmake
1718@ REM build files for app/external
1819
19- cmake -G " Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=%CONFIG% -DKISSFFT_TOOLS=OFF -DKISSFFT_PKGCONFIG=OFF ..\
20+ set " VCPKG_ROOT = %SCRIPT_DIR% vcpkg"
21+ set " VCPKG_TOOLCHAIN = %VCPKG_ROOT% \scripts\buildsystems\vcpkg.cmake"
22+
23+ cmake -G " Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=%CONFIG% -DCMAKE_TOOLCHAIN_FILE=%VCPKG_TOOLCHAIN% -DVCPKG_TARGET_TRIPLET=%VCPKG_TRIPLET% -DKISSFFT_TOOLS=OFF -DKISSFFT_PKGCONFIG=OFF ..\
2024if %ERRORLEVEL% neq 0 (
2125 cd %WORKING_DIR%
2226 exit /b %ERRORLEVEL%
You can’t perform that action at this time.
0 commit comments