mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-25 01:51:49 +08:00
MSVC: Fix compile issues of JKQtFastPlotter
This commit is contained in:
parent
71b562f29c
commit
5e9dd436aa
@ -1,7 +1,15 @@
|
||||
|
||||
|
||||
QMAKE_CXXFLAGS += -fexceptions
|
||||
|
||||
!win32-msvc* {
|
||||
QMAKE_CXXFLAGS += -fexceptions
|
||||
} else {
|
||||
QMAKE_CXXFLAGS += /EHsc
|
||||
# To enable M_PI, M_E,...
|
||||
DEFINES += _USE_MATH_DEFINES
|
||||
# To fix error: C2338: va_start argument must not
|
||||
# have reference type and must not be parenthesized
|
||||
DEFINES += _CRT_NO_VA_START_VALIDATION
|
||||
}
|
||||
|
||||
HEADERS += $$PWD/jkqtfastplotter/jkqtfastplotter.h \
|
||||
$$PWD/jkqtplottertools/jkqtptools.h \
|
||||
|
Loading…
Reference in New Issue
Block a user