Tweaked compilation flags for MSVC++

This commit is contained in:
Tvangeste 2013-08-10 21:44:33 +02:00
parent 3a6215287c
commit b81f008a18

View file

@ -41,6 +41,8 @@ win32 {
VERSION = 1.5.0 # More complicated things cause errors during compilation under MSVC++
DEFINES += __WIN32 _CRT_SECURE_NO_WARNINGS
QMAKE_CXXFLAGS += /wd4290 # silence the warning C4290: C++ exception specification ignored
QMAKE_LFLAGS_RELEASE += /LTCG /OPT:REF /OPT:ICF
QMAKE_CXXFLAGS_RELEASE += /GL
LIBS += -lshell32 -luser32 -lsapi -lole32 -lhunspell
LIBS += -L$${PWD}/winlibs/lib/msvc
} else {