summaryrefslogtreecommitdiff
path: root/win32.pri
blob: 7a020d7ab945bbd6bd3224af8f1e644c0e2861fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# win32-specific general settings

win32 {
  #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

}
contact: Jan Huwald // Impressum