diff Resources/Builders/BuildAllWindows.sh @ 111:6ad5da29f260 OrthancPython-4.0

added Windows builders for Python 3.9, 3.10 and 3.11
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 28 Mar 2023 17:27:06 +0200
parents 77f4e165e535
children a5162d8bd2d4
line wrap: on
line diff
--- a/Resources/Builders/BuildAllWindows.sh	Wed Feb 23 18:42:08 2022 +0100
+++ b/Resources/Builders/BuildAllWindows.sh	Tue Mar 28 17:27:06 2023 +0200
@@ -18,8 +18,10 @@
 VERSION=`grep "set(PLUGIN_VERSION" ${DIR}/../../CMakeLists.txt | cut -d '"' -f 2`
 echo "Version of the Python plugin: ${VERSION}"
 
+set -x
 
-set -x
+
+## Windows 32
 
 bash ${DIR}/MinGW32-Python2.7/docker-compile.sh Release
 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win32-Python2.7-${VERSION}.dll
@@ -30,6 +32,18 @@
 bash ${DIR}/MinGW32-Python3.8/docker-compile.sh Release
 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win32-Python3.8-${VERSION}.dll
 
+bash ${DIR}/MinGW32-Python3.9/docker-compile.sh Release
+cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win32-Python3.9-${VERSION}.dll
+
+bash ${DIR}/MinGW32-Python3.10/docker-compile.sh Release
+cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win32-Python3.10-${VERSION}.dll
+
+bash ${DIR}/MinGW32-Python3.11/docker-compile.sh Release
+cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win32-Python3.11-${VERSION}.dll
+
+
+## Windows 64
+
 bash ${DIR}/MinGW64-Python2.7/docker-compile.sh Release
 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win64-Python2.7-${VERSION}.dll
 
@@ -38,3 +52,12 @@
 
 bash ${DIR}/MinGW64-Python3.8/docker-compile.sh Release
 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win64-Python3.8-${VERSION}.dll
+
+bash ${DIR}/MinGW64-Python3.9/docker-compile.sh Release
+cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win64-Python3.9-${VERSION}.dll
+
+bash ${DIR}/MinGW64-Python3.10/docker-compile.sh Release
+cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win64-Python3.10-${VERSION}.dll
+
+bash ${DIR}/MinGW64-Python3.11/docker-compile.sh Release
+cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win64-Python3.11-${VERSION}.dll