mirror of https://github.com/Kitware/CMake.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
412 B
9 lines
412 B
$erroractionpreference = "stop"
|
|
|
|
Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1
|
|
Set-Location -Path ".gitlab"
|
|
git clone https://github.com/ninja-build/ninja.git ninja-src
|
|
cmake -S ninja-src -B ninja-src/build -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release
|
|
cmake --build ninja-src/build --target ninja
|
|
Move-Item -Path "ninja-src\build\ninja.exe" -Destination . -Force
|
|
Remove-Item "ninja-src" -Recurse -Force
|