mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
Tweaked compilation flags for MSVC++
This commit is contained in:
parent
3a6215287c
commit
b81f008a18
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue