summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/win/x86/pack.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/Release/win/x86/pack.bat')
-rwxr-xr-xUtilities/Release/win/x86/pack.bat12
1 files changed, 12 insertions, 0 deletions
diff --git a/Utilities/Release/win/x86/pack.bat b/Utilities/Release/win/x86/pack.bat
new file mode 100755
index 0000000..2d37eef
--- /dev/null
+++ b/Utilities/Release/win/x86/pack.bat
@@ -0,0 +1,12 @@
+@rem Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+@rem file Copyright.txt or https://cmake.org/licensing for details.
+
+call \msvc.bat && @echo on || exit /b
+set PATH=C:\wix;C:\ninja;%PATH%
+cd \cmake\src\cmake-build && (
+ for %%p in (%*) do (
+ bin\cpack -G %%p
+ )
+) && ^
+mkdir \out && ^
+move cmake-*-win* \out