Mercurial > hg > orthanc-python
comparison Resources/Builders/BuildAllWindows.sh @ 112:b3a18e333f93
integration 4.0->mainline
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 28 Mar 2023 17:28:16 +0200 |
parents | 6ad5da29f260 |
children | a5162d8bd2d4 |
comparison
equal
deleted
inserted
replaced
110:391c3b504fb6 | 112:b3a18e333f93 |
---|---|
16 mkdir -p ${TARGET} | 16 mkdir -p ${TARGET} |
17 | 17 |
18 VERSION=`grep "set(PLUGIN_VERSION" ${DIR}/../../CMakeLists.txt | cut -d '"' -f 2` | 18 VERSION=`grep "set(PLUGIN_VERSION" ${DIR}/../../CMakeLists.txt | cut -d '"' -f 2` |
19 echo "Version of the Python plugin: ${VERSION}" | 19 echo "Version of the Python plugin: ${VERSION}" |
20 | 20 |
21 set -x | |
21 | 22 |
22 set -x | 23 |
24 ## Windows 32 | |
23 | 25 |
24 bash ${DIR}/MinGW32-Python2.7/docker-compile.sh Release | 26 bash ${DIR}/MinGW32-Python2.7/docker-compile.sh Release |
25 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win32-Python2.7-${VERSION}.dll | 27 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win32-Python2.7-${VERSION}.dll |
26 | 28 |
27 bash ${DIR}/MinGW32-Python3.7/docker-compile.sh Release | 29 bash ${DIR}/MinGW32-Python3.7/docker-compile.sh Release |
28 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win32-Python3.7-${VERSION}.dll | 30 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win32-Python3.7-${VERSION}.dll |
29 | 31 |
30 bash ${DIR}/MinGW32-Python3.8/docker-compile.sh Release | 32 bash ${DIR}/MinGW32-Python3.8/docker-compile.sh Release |
31 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win32-Python3.8-${VERSION}.dll | 33 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win32-Python3.8-${VERSION}.dll |
32 | 34 |
35 bash ${DIR}/MinGW32-Python3.9/docker-compile.sh Release | |
36 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win32-Python3.9-${VERSION}.dll | |
37 | |
38 bash ${DIR}/MinGW32-Python3.10/docker-compile.sh Release | |
39 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win32-Python3.10-${VERSION}.dll | |
40 | |
41 bash ${DIR}/MinGW32-Python3.11/docker-compile.sh Release | |
42 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win32-Python3.11-${VERSION}.dll | |
43 | |
44 | |
45 ## Windows 64 | |
46 | |
33 bash ${DIR}/MinGW64-Python2.7/docker-compile.sh Release | 47 bash ${DIR}/MinGW64-Python2.7/docker-compile.sh Release |
34 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win64-Python2.7-${VERSION}.dll | 48 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win64-Python2.7-${VERSION}.dll |
35 | 49 |
36 bash ${DIR}/MinGW64-Python3.7/docker-compile.sh Release | 50 bash ${DIR}/MinGW64-Python3.7/docker-compile.sh Release |
37 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win64-Python3.7-${VERSION}.dll | 51 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win64-Python3.7-${VERSION}.dll |
38 | 52 |
39 bash ${DIR}/MinGW64-Python3.8/docker-compile.sh Release | 53 bash ${DIR}/MinGW64-Python3.8/docker-compile.sh Release |
40 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win64-Python3.8-${VERSION}.dll | 54 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win64-Python3.8-${VERSION}.dll |
55 | |
56 bash ${DIR}/MinGW64-Python3.9/docker-compile.sh Release | |
57 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win64-Python3.9-${VERSION}.dll | |
58 | |
59 bash ${DIR}/MinGW64-Python3.10/docker-compile.sh Release | |
60 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win64-Python3.10-${VERSION}.dll | |
61 | |
62 bash ${DIR}/MinGW64-Python3.11/docker-compile.sh Release | |
63 cp ${DIR}/../../docker-build/lib/libOrthancPython.dll ${TARGET}/OrthancPython-Win64-Python3.11-${VERSION}.dll |