summaryrefslogtreecommitdiffstats
path: root/PC/bdist_wininst/build.bat
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2014-12-16 01:19:27 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2014-12-16 01:19:27 (GMT)
commit89fc3caedb81dcca51c996c36ae8c6060d2f4e8f (patch)
tree4cea9d9b1567c4fd32ede843d738441eb6c84c03 /PC/bdist_wininst/build.bat
parent1f6c29a914e442601ca6e71aa40b93689ed0fbe1 (diff)
downloadcpython-89fc3caedb81dcca51c996c36ae8c6060d2f4e8f.zip
cpython-89fc3caedb81dcca51c996c36ae8c6060d2f4e8f.tar.gz
cpython-89fc3caedb81dcca51c996c36ae8c6060d2f4e8f.tar.bz2
Make bdist_wininst build only on demand
Diffstat (limited to 'PC/bdist_wininst/build.bat')
-rw-r--r--PC/bdist_wininst/build.bat22
1 files changed, 22 insertions, 0 deletions
diff --git a/PC/bdist_wininst/build.bat b/PC/bdist_wininst/build.bat
new file mode 100644
index 0000000..ee68567
--- /dev/null
+++ b/PC/bdist_wininst/build.bat
@@ -0,0 +1,22 @@
+@echo off
+setlocal
+
+set D=%~dp0
+set PCBUILD=%~dp0..\..\PCBuild\
+
+
+echo Building Lib\distutils\command\wininst-xx.0.exe
+
+call "%PCBUILD%env.bat" x86
+if errorlevel 1 goto :eof
+
+msbuild "%D%bdist_wininst.vcxproj" "/p:SolutionDir=%PCBUILD%\" /p:Configuration=Release /p:Platform=Win32
+if errorlevel 1 goto :eof
+
+
+echo Building Lib\distutils\command\wininst-xx.0-amd64.exe
+
+call "%PCBUILD%env.bat" x86_amd64
+if errorlevel 1 goto :eof
+
+msbuild "%D%bdist_wininst.vcxproj" "/p:SolutionDir=%PCBUILD%\" /p:Configuration=Release /p:Platform=x64