summaryrefslogtreecommitdiff
path: root/release-macosx.sh
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-03 00:10:55 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-03 00:10:55 (GMT)
commite3011f42a5528f6ca774ee246249cb0c2548a1f1 (patch)
tree2c736c49e079fa8ac4528d8fe2c7c1f60a8f1307 /release-macosx.sh
parentffb68adb62090d1f2fadceaabb188fa3fdce8c17 (diff)
Added support for OpenCSG-1.2.0, enabled MDI as default for Mac OS X
git-svn-id: http://svn.clifford.at/openscad/trunk@193 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'release-macosx.sh')
-rwxr-xr-xrelease-macosx.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/release-macosx.sh b/release-macosx.sh
index 615a65f..5a4af58 100755
--- a/release-macosx.sh
+++ b/release-macosx.sh
@@ -5,12 +5,13 @@ VERSION=`date "+%Y.%m.%d"`
#VERSION=2010.01
echo "Building.."
-qmake VERSION=$VERSION
+export OPENCSGDIR=$PWD/../OpenCSG-1.2.0
+qmake VERSION=$VERSION CONFIG+=mdi
make clean
make -j2
echo "Preparing executable.."
mkdir OpenSCAD.app/Contents/Frameworks
-cp ../OpenCSG-1.1.1/lib/libopencsg.dylib OpenSCAD.app/Contents/Frameworks
+cp $OPENCSGDIR/lib/libopencsg.dylib OpenSCAD.app/Contents/Frameworks
cp /opt/local/lib/libGLEW.1.5.1.dylib OpenSCAD.app/Contents/Frameworks
cp /Library/Frameworks/QtOpenGL.framework/Versions/4/QtOpenGL OpenSCAD.app/Contents/Frameworks
cp /Library/Frameworks/QtGui.framework/Versions/4/QtGui OpenSCAD.app/Contents/Frameworks
contact: Jan Huwald // Impressum