diff options
author | Marius Kintel <marius@kintel.net> | 2013-08-20 03:26:05 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-08-20 03:26:05 (GMT) |
commit | 154c65dee2ccb77c9e7fc576c36067a24632fa30 (patch) | |
tree | 1f61d1f944152df00800017223845a4cb9a1d899 /win.pri | |
parent | fe7fb45019affbf683930d6368fe38524bdd2649 (diff) | |
parent | 61e6178d1b71d78832aab4fbe7bd2d3550626b87 (diff) |
Merge branch 'master' of git://github.com/ivoknutsel/openscad into ivoknutsel-master
Diffstat (limited to 'win.pri')
-rw-r--r-- | win.pri | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -5,7 +5,8 @@ win32*msvc* { INCLUDEPATH += $$(MPIRDIR) INCLUDEPATH += $$(MPFRDIR) - DEFINES += _USE_MATH_DEFINES NOMINMAX _CRT_SECURE_NO_WARNINGS YY_NO_UNISTD_H + # don't know where the __WIN32__ is usually set + DEFINES += _USE_MATH_DEFINES NOMINMAX _CRT_SECURE_NO_WARNINGS YY_NO_UNISTD_H __WIN32__ # disable MSVC warnings that are of very low importance # disable warning about too long decorated names @@ -16,5 +17,9 @@ win32*msvc* { QMAKE_CXXFLAGS += -wd4100 # lexer uses strdup() & other POSIX stuff QMAKE_CXXFLAGS += -D_CRT_NONSTDC_NO_DEPRECATE + # Treat WChar_t as a builtin type, allows Qt to call boost funcions + QMAKE_CXXFLAGS += /Zc:wchar_t + # increases the number of sections in .obj file + QMAKE_CXXFLAGS += /bigobj } |