summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-05-07 16:02:51 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-05-07 16:02:51 (GMT)
commit38a4aabc2cbe8efbbbf0fda905ab3eca0657c2dd (patch)
tree18022af12ec2d20d7e49631123653bf4515e9169
parent2aaed5ab1c82afeeec59e3bb7f6afd8b91c92fca (diff)
How to build a development version of OpenSCAD, checklist-macosx.txt is meant for deployment builds
git-svn-id: http://svn.clifford.at/openscad/trunk@526 b57f626f-c46c-0410-a088-ec61d464b74c
-rw-r--r--doc/build-macosx.txt40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/build-macosx.txt b/doc/build-macosx.txt
new file mode 100644
index 0000000..ad050ad
--- /dev/null
+++ b/doc/build-macosx.txt
@@ -0,0 +1,40 @@
+o Prerequisites (MacPorts):
+ - NB! CGAL requires gcc >= 4.2 (This is default in 10.6 Snow Leopard)
+ - eigen
+ - boost
+ - gmp
+ - mpfr
+ - cmake
+ - qt4-mac-devel
+ - glew
+
+o An important note about paths:
+ You can choose where to put the libs you build yourself as long as
+ this is reflected in the environment variables as specified under
+ 'Build OpenSCAD'.
+
+o Build CGAL >= 3.5
+
+ tar xzf CGAL-3.6.tar.gz
+ cd CGAL-3.6
+ cmake -DCMAKE_INSTALL_PREFIX=$PWD/../install/CGAL-3.6 -DBUILD_SHARED_LIBS=FALSE
+ make -j4
+ make install
+
+o Patch OpenCSG >= 1.3.0
+
+ tar xzf OpenCSG-1.3.0.tar.gz
+ cd OpenCSG-1.3.0
+ patch -p1 < ../openscad/patches/OpenCSG-1.3.0-MacOSX-port.patch
+
+o Build OpenCSG
+
+ qmake -recursive
+ make
+
+o Build OpenSCAD
+
+ cd openscad
+ export OPENCSGDIR=$PWD/../OpenCSG-1.3.0
+ export CGALDIR=$PWD/../install/CGAL-3.6
+ ./scripts/release-common.sh
contact: Jan Huwald // Impressum