summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/win32
diff options
context:
space:
mode:
authorMarius Storm-Olsen <marius.storm-olsen@nokia.com>2010-08-31 18:12:30 (GMT)
committerMarius Storm-Olsen <marius.storm-olsen@nokia.com>2010-09-02 10:56:33 (GMT)
commitac33c5ba3206ac7bb1d38c796139d864a637f7a4 (patch)
tree9ce506487ab4cce6b31dfb2904b54b061fab3289 /mkspecs/features/win32
parenta1e1103e1c3f0e47c5d075660a77d00f47e1c125 (diff)
downloadQt-ac33c5ba3206ac7bb1d38c796139d864a637f7a4.zip
Qt-ac33c5ba3206ac7bb1d38c796139d864a637f7a4.tar.gz
Qt-ac33c5ba3206ac7bb1d38c796139d864a637f7a4.tar.bz2
Add option to enable -MP compile option for MSVC
The option is on when building Qt, but off by default for other projects, due to potential incompatible compile options in other projects. (/E, /EP, /Gm, /Yc, /showIncludes, #import preprocessor directive) Reviewed-by: bhughes Reviewed-by: ossi
Diffstat (limited to 'mkspecs/features/win32')
-rw-r--r--mkspecs/features/win32/msvc_mp.prf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/features/win32/msvc_mp.prf b/mkspecs/features/win32/msvc_mp.prf
new file mode 100644
index 0000000..d6dea14
--- /dev/null
+++ b/mkspecs/features/win32/msvc_mp.prf
@@ -0,0 +1,2 @@
+QMAKE_CFLAGS += $$QMAKE_CFLAGS_MP
+QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MP