1 2 3 4 5 6 7
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 }