diff options
author | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-30 04:27:59 (GMT) |
---|---|---|
committer | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-30 04:27:59 (GMT) |
commit | 9b3d816122e76755d44346175b9e9dce8158d7d2 (patch) | |
tree | e7e514a3aab7840ef0d676055836b427ae0d43fc /cgal.pri | |
parent | 191dc4857c852f1867e80cd9d03a6d1c0921dcb1 (diff) |
resource and build system update
git-svn-id: http://svn.clifford.at/openscad/trunk@366 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'cgal.pri')
-rw-r--r-- | cgal.pri | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cgal.pri b/cgal.pri new file mode 100644 index 0000000..fd58779 --- /dev/null +++ b/cgal.pri @@ -0,0 +1,16 @@ +cgal { +# Uncomment this to enable experimental CGAL tesselation +# DEFINES += CGAL_TESSELATE + DEFINES += ENABLE_CGAL + LIBS += -lCGAL + macx { + INCLUDEPATH += $(PWD)/../install/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/opt/local/lib /opt/local/lib/libgmp.a /opt/local/lib/libmpfr.a /opt/local/lib/libboost_thread-mt.a + } + else { + LIBS += -lmpfr + } + win32:LIBS += -lboost_thread -lgmp + QMAKE_CXXFLAGS += -frounding-math +} |