2011-12-17 07:03:10 +04:00
|
|
|
# win32-specific MSVC compiler general settings
|
2011-12-15 07:59:15 +04:00
|
|
|
|
2011-12-17 07:03:10 +04:00
|
|
|
win32*msvc* {
|
2011-12-15 07:59:15 +04:00
|
|
|
#configure additional directories
|
|
|
|
INCLUDEPATH += $$(MPIRDIR)
|
|
|
|
INCLUDEPATH += $$(MPFRDIR)
|
|
|
|
|
2013-07-28 15:42:35 +04:00
|
|
|
# don't know where the __WIN32__ is usually set
|
|
|
|
DEFINES += _USE_MATH_DEFINES NOMINMAX _CRT_SECURE_NO_WARNINGS YY_NO_UNISTD_H __WIN32__
|
2011-12-15 07:59:15 +04:00
|
|
|
|
|
|
|
# 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
|
2013-07-28 15:42:35 +04:00
|
|
|
# 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
|
2011-12-15 07:59:15 +04:00
|
|
|
|
2011-12-17 07:03:10 +04:00
|
|
|
}
|