summaryrefslogtreecommitdiff
path: root/openscad.pro
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-07-20 20:23:16 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-07-20 20:23:16 (GMT)
commitdec26f84dd9781e2553ce03d536a90ca931f109e (patch)
tree5cc311a349b243930d4e9658581434734c8ccc9f /openscad.pro
parent821c064f3e6d624152b49f2297b750bdc53f3a5f (diff)
initial steps towards support of clang compiler
Diffstat (limited to 'openscad.pro')
-rw-r--r--openscad.pro8
1 files changed, 8 insertions, 0 deletions
diff --git a/openscad.pro b/openscad.pro
index 68aa1cc..25e7608 100644
--- a/openscad.pro
+++ b/openscad.pro
@@ -103,6 +103,14 @@ netbsd* {
QMAKE_CXXFLAGS *= -fno-strict-aliasing
}
+*clang* {
+ # disable enormous amount of warnings about CGAL
+ QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter
+ QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-variable
+ QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-function
+ QMAKE_CXXFLAGS_WARN_ON += -Wno-c++11-extensions
+}
+
CONFIG(skip-version-check) {
# force the use of outdated libraries
DEFINES += OPENSCAD_SKIP_VERSION_CHECK
contact: Jan Huwald // Impressum