JKQtPlotter/lib/common.pri

26 lines
575 B
Plaintext
Raw Normal View History

2018-12-31 17:47:49 +08:00
!win32-msvc* {
QMAKE_CXXFLAGS += -fexceptions
} else {
2019-01-21 16:29:59 +08:00
QMAKE_CXXFLAGS += /EHsc
# /std:c++14
2018-12-31 17:47:49 +08:00
# 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
}
2019-05-18 19:22:46 +08:00
HEADERS += $$PWD/jkqtcommon/jkqtp_imexport.h \
$$PWD/jkqtcommon/jkqtptools.h
2018-12-31 17:47:49 +08:00
2019-05-18 19:22:46 +08:00
SOURCES += $$PWD/jkqtcommon/jkqtptools.cpp
2018-12-31 17:47:49 +08:00
INCLUDEPATH += $$PWD
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
2019-01-20 23:26:32 +08:00
2019-01-21 16:29:59 +08:00
CONFIG += c++11