blob: 40b6c06b3c7b215b23c326f06028b2f4d5a4877a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"
|