File: win.pri

package info (click to toggle)
openscad 2015.03-2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 30,804 kB
  • ctags: 5,692
  • sloc: cpp: 39,386; sh: 3,856; ansic: 3,674; python: 1,393; yacc: 496; lex: 272; lisp: 159; makefile: 67; xml: 60
file content (25 lines) | stat: -rw-r--r-- 837 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# win32-specific MSVC compiler general settings

win32*msvc* {
  #configure additional directories
  INCLUDEPATH += $$(MPIRDIR)
  INCLUDEPATH += $$(MPFRDIR)

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

}