Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaid <daid303@gmail.com>2015-05-04 14:35:53 +0300
committerdaid <daid303@gmail.com>2015-05-04 14:35:53 +0300
commit881be3c405009917bea3f866bca44cfba4592747 (patch)
tree32a18a0304b82740dee33fd2d761706bb71cc0a9 /build.sh
parent41cb0dc17e6c7af248b3b5d4362a1665388b97c2 (diff)
Add the scripts used to build the release package (still needs some more work, but works on my desktop)
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh34
1 files changed, 34 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100644
index 0000000000..7da99d0de5
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,34 @@
+set -e
+set -u
+
+export OLD_PWD=`pwd`
+export CMAKE=/c/software/PCL/cmake-3.0.1-win32-x86/bin/cmake.exe
+export MAKE=mingw32-make.exe
+export PATH=/c/mingw-w64/i686-4.9.2-posix-dwarf-rt_v3-rev1/mingw32/bin:$PATH
+
+mkdir -p /c/software/protobuf/_build
+cd /c/software/protobuf/_build
+$CMAKE ../
+$MAKE install
+
+mkdir -p /c/software/libArcus/_build
+cd /c/software/libArcus/_build
+$CMAKE ../
+$MAKE install
+
+mkdir -p /c/software/PinkUnicornEngine/_build
+cd /c/software/PinkUnicornEngine/_build
+$CMAKE ../
+$MAKE
+
+cd $OLD_PWD
+export PYTHONPATH=`pwd`/../libArcus/python:/c/Software/Uranium/
+/c/python34/python setup.py py2exe
+
+cp /c/software/PinkUnicornEngine/_build/CuraEngine.exe dist/
+cp /c/software/libArcus/_install/bin/libArcus.dll dist/
+cp /c/mingw-w64/i686-4.9.2-posix-dwarf-rt_v3-rev1/mingw32/bin/libgcc_s_dw2-1.dll dist/
+cp /c/mingw-w64/i686-4.9.2-posix-dwarf-rt_v3-rev1/mingw32/bin/libwinpthread-1.dll dist/
+cp /c/mingw-w64/i686-4.9.2-posix-dwarf-rt_v3-rev1/mingw32/bin/libstdc++-6.dll dist/
+
+/c/program\ files\ \(x86\)/NSIS/makensis.exe installer.nsi