summaryrefslogtreecommitdiff
path: root/scripts/mingw-x-build-openscad.sh
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-08-05 00:47:36 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-08-05 00:47:36 (GMT)
commit58db7a9d19f707c72a3f16bdf6275c0e4671f362 (patch)
treea6721c7c719daf6a756936bb5d8c30a3a6e91a69 /scripts/mingw-x-build-openscad.sh
parent06d48a47f8a2e7899b4edb3fae75a34479453e19 (diff)
move functionality from build-installer script to release-common.
mostly this means 1. detect NSIS and fail with error message if its not there 2. remove mingw-build-installer and mingw-build-openscad as they are nowredundant. running publish-mingw-x does exactly the same thing, only better because it builds from a clean source tree.
Diffstat (limited to 'scripts/mingw-x-build-openscad.sh')
-rwxr-xr-xscripts/mingw-x-build-openscad.sh45
1 files changed, 0 insertions, 45 deletions
diff --git a/scripts/mingw-x-build-openscad.sh b/scripts/mingw-x-build-openscad.sh
deleted file mode 100755
index d0d5b9c..0000000
--- a/scripts/mingw-x-build-openscad.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh -e
-#
-# This script builds Openscad.exe for windows using the MXE cross build system.
-#
-# This script must be run from the OpenSCAD source root directory
-#
-# You must have already run the mingw-x-build-dependencies.sh script
-#
-# Usage:
-#
-# ./scripts/mingw-x-build-openscad.sh
-#
-
-OPENSCADDIR=$PWD
-if [ ! -f $OPENSCADDIR/openscad.pro ]; then
- echo "Must be run from the OpenSCAD source root directory"
- exit 0
-fi
-echo OPENSCADDIR: $OPENSCADDIR
-
-. ./scripts/setenv-mingw-xbuild.sh
-
-if [ ! -e $BASEDIR/lib ]; then
- echo "please run the mingw-x-build-dependencies.sh script first"
-fi
-
-echo "entering $DEPLOYDIR"
-cd $DEPLOYDIR
-i686-pc-mingw32-qmake CONFIG+=mingw-cross-env ../openscad.pro
-#"make -j$NUMCPU" # causes parser_yacc.hpp errors
-make
-echo "leaving $DEPLOYDIR"
-
-echo "entering $OPENSCADDIR"
-cd $OPENSCADDIR
-
-OPENSCAD_EXE=$DEPLOYDIR/release/openscad.exe
-
-if [ -e $OPENSCAD_EXE ] ; then
- echo Build finished. Executable file ready:
- echo " " $OPENSCAD_EXE
-else
- echo Cannot find $OPENSCAD_EXE. The build appears to have had an error.
-fi
-
contact: Jan Huwald // Impressum