
Powershell scripts cannot be launched as commands on Windows. They must be run through the `powershell` or `pwsh` tool.
8 lines
178 B
PowerShell
8 lines
178 B
PowerShell
if (Test-Path -Path "build/ci_package_info.cmake" -PathType Leaf) {
|
|
cmake -P .gitlab/ci/package_windows_build.cmake
|
|
} else {
|
|
cd build
|
|
cpack -G ZIP
|
|
cpack -G WIX
|
|
}
|