diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2013-05-27 01:24:53 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2013-05-27 01:24:53 (GMT) |
commit | 08952ee2164efd8257adbd8684317ec1c945b7ac (patch) | |
tree | 5b50d417d950ad27e90f2765977e42caac1a881d /win.pri | |
parent | 31c88a434b3201d88819b485f74da843c2728cb2 (diff) |
windows - library path find, also windows build fixes
Diffstat (limited to 'win.pri')
-rw-r--r-- | win.pri | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -0,0 +1,20 @@ +# win32-specific MSVC compiler general settings + +win32*msvc* { + #configure additional directories + INCLUDEPATH += $$(MPIRDIR) + INCLUDEPATH += $$(MPFRDIR) + + DEFINES += _USE_MATH_DEFINES NOMINMAX _CRT_SECURE_NO_WARNINGS YY_NO_UNISTD_H + + # disable MSVC warnings that are of very low importance + # disable warning about too long decorated names + QMAKE_CXXFLAGS += -wd4503 + # CGAL casting int to bool + QMAKE_CXXFLAGS += -wd4800 + # CGAL's unreferenced formal parameters + QMAKE_CXXFLAGS += -wd4100 + # lexer uses strdup() & other POSIX stuff + QMAKE_CXXFLAGS += -D_CRT_NONSTDC_NO_DEPRECATE + +} |