mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-16 02:25:50 +08:00
34b31812ba
+ CMAKE now properly adds the Build-type when building libraries + removed some more compiler warning
71 lines
2.8 KiB
Plaintext
71 lines
2.8 KiB
Plaintext
# include guard against multiple inclusion
|
|
isEmpty(JKQTP_COMMON_PRI_INCLUDED) {
|
|
JKQTP_COMMON_PRI_INCLUDED = 1
|
|
|
|
!win32-msvc* {
|
|
QMAKE_CXXFLAGS += -fexceptions
|
|
} else {
|
|
QMAKE_CXXFLAGS += /EHsc
|
|
# /std:c++14
|
|
# 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
|
|
# fix errors with min()/max() macros from windows
|
|
DEFINES += NOMINMAX
|
|
}
|
|
|
|
HEADERS += $$PWD/jkqtcommon/jkqtcommon_imexport.h \
|
|
$$PWD/jkqtcommon/jkqtpdebuggingtools.h \
|
|
$$PWD/jkqtcommon/jkqtpmathtools.h \
|
|
$$PWD/jkqtcommon/jkqtpalgorithms.h \
|
|
$$PWD/jkqtcommon/jkqtpstringtools.h \
|
|
$$PWD/jkqtcommon/jkqtplinalgtools.h \
|
|
$$PWD/jkqtcommon/jkqtpcodestructuring.h \
|
|
$$PWD/jkqtcommon/jkqtpbasicimagetools.h \
|
|
$$PWD/jkqtcommon/jkqtpdrawingtools.h \
|
|
$$PWD/jkqtcommon/jkqtpenhancedpainter.h \
|
|
$$PWD/jkqtcommon/jkqtphighrestimer.h \
|
|
$$PWD/jkqtcommon/jkqtpmathparser.h \
|
|
$$PWD/jkqtcommon/jkqttools.h \
|
|
$$PWD/jkqtcommon/jkqtparraytools.h \
|
|
$$PWD/jkqtcommon/jkqtpstatisticstools.h \
|
|
$$PWD/jkqtcommon/jkqtpstatbasics.h \
|
|
$$PWD/jkqtcommon/jkqtpstathistogram.h \
|
|
$$PWD/jkqtcommon/jkqtpstatkde.h \
|
|
$$PWD/jkqtcommon/jkqtpstatregression.h \
|
|
$$PWD/jkqtcommon/jkqtpstatpoly.h \
|
|
$$PWD/jkqtcommon/jkqtpstatgrouped.h
|
|
|
|
|
|
|
|
SOURCES += $$PWD/jkqtcommon/jkqtpdebuggingtools.cpp \
|
|
$$PWD/jkqtcommon/jkqtpmathtools.cpp \
|
|
$$PWD/jkqtcommon/jkqtpalgorithms.cpp \
|
|
$$PWD/jkqtcommon/jkqtpstringtools.cpp \
|
|
$$PWD/jkqtcommon/jkqtplinalgtools.cpp \
|
|
$$PWD/jkqtcommon/jkqtpcodestructuring.cpp \
|
|
$$PWD/jkqtcommon/jkqtpbasicimagetools.cpp \
|
|
$$PWD/jkqtcommon/jkqtpdrawingtools.cpp \
|
|
$$PWD/jkqtcommon/jkqtpenhancedpainter.cpp \
|
|
$$PWD/jkqtcommon/jkqtphighrestimer.cpp \
|
|
$$PWD/jkqtcommon/jkqtpmathparser.cpp \
|
|
$$PWD/jkqtcommon/jkqttools.cpp \
|
|
$$PWD/jkqtcommon/jkqtparraytools.cpp \
|
|
$$PWD/jkqtcommon/jkqtpstatbasics.cpp \
|
|
$$PWD/jkqtcommon/jkqtpstathistogram.cpp \
|
|
$$PWD/jkqtcommon/jkqtpstatkde.cpp \
|
|
$$PWD/jkqtcommon/jkqtpstatregression.cpp \
|
|
$$PWD/jkqtcommon/jkqtpstatpoly.cpp \
|
|
$$PWD/jkqtcommon/jkqtpstatgrouped.cpp
|
|
|
|
|
|
INCLUDEPATH += $$PWD
|
|
|
|
QT += core gui
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
|
|
|
|
CONFIG += c++11
|
|
}
|