diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-10-25 20:35:03 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-10-25 20:35:03 (GMT) |
commit | dc1450e47ff30b2b137c0fb65c5e9798f098a419 (patch) | |
tree | 581f242f50a5a524a61c0e64ff5b1764b8466070 /openscad.pro | |
parent | a201b851e68e75477e0db644d71a0d1fd7608cdd (diff) |
Marius Kintel:
Some patches for MacOS X
Set text editor font to QFont::TypeWriter
git-svn-id: http://svn.clifford.at/openscad/trunk@120 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'openscad.pro')
-rw-r--r-- | openscad.pro | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/openscad.pro b/openscad.pro index 6ccbbfc..ee60724 100644 --- a/openscad.pro +++ b/openscad.pro @@ -1,9 +1,26 @@ +macx { + TARGET = OpenSCAD +} +else { + TARGET = openscad +} + CONFIG += qt debug TEMPLATE = app DEFINES += "ENABLE_CGAL=1" -LIBS += -lCGAL -lmpfr +LIBS += -lCGAL + +macx { + INCLUDEPATH += $(PWD)/../install/include $(PWD)/../OpenCSG-1.1.1/include /opt/local/include + # The -L/usr/lib is to force the linker to use system libraries over MacPort libraries + LIBS += -L/usr/lib -L$(PWD)/../install/lib -L$(PWD)/../OpenCSG-1.1.1/lib -L/opt/local/lib /opt/local/lib/libgmp.a /opt/local/lib/libmpfr.a /opt/local/lib/libboost_thread-mt.a + QMAKE_CXXFLAGS += -frounding-math +} +else { + LIBS += -lmpfr +} DEFINES += "ENABLE_OPENCSG=1" LIBS += -lopencsg |