if (!(Test-Path -Path "build")) { New-Item -ItemType Directory -Path "build" } Set-Location -Path "build" cmake -A x64 -DCMAKE_BUILD_TYPE=Release .. cmake --build . --config Release