From e4a0432383331e013808a97b7c24707e4ddc4726 Mon Sep 17 00:00:00 2001 From: srdusr Date: Fri, 26 Sep 2025 12:23:19 +0200 Subject: Initial Commit --- scripts/install_deps_windows_vcpkg.ps1 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 scripts/install_deps_windows_vcpkg.ps1 (limited to 'scripts/install_deps_windows_vcpkg.ps1') diff --git a/scripts/install_deps_windows_vcpkg.ps1 b/scripts/install_deps_windows_vcpkg.ps1 new file mode 100644 index 0000000..40b6c06 --- /dev/null +++ b/scripts/install_deps_windows_vcpkg.ps1 @@ -0,0 +1,21 @@ +Param( + [string]$VcpkgDir = "$PSScriptRoot\..\..\vcpkg" +) + +$ErrorActionPreference = "Stop" + +if (!(Test-Path $VcpkgDir)) { + git clone https://github.com/microsoft/vcpkg.git $VcpkgDir +} + +Push-Location $VcpkgDir +try { + .\bootstrap-vcpkg.bat + .\vcpkg.exe integrate install + .\vcpkg.exe install lua:x64-windows +} +finally { + Pop-Location +} + +Write-Host "Dependencies installed via vcpkg. Use CMake with -DCMAKE_TOOLCHAIN_FILE=$VcpkgDir\scripts\buildsystems\vcpkg.cmake" -- cgit v1.2.3