mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 10:05:47 +08:00
using Precompiled Headers in QMake
This commit is contained in:
parent
e132b5bf96
commit
105b0332ce
@ -1,23 +1,9 @@
|
|||||||
TEMPLATE = subdirs
|
TEMPLATE = subdirs
|
||||||
|
|
||||||
SUBDIRS += jkqtplotterlib \
|
SUBDIRS += jkqtplotterlib_sharedlib \
|
||||||
jkqtplotterlib_sharedlib \
|
|
||||||
jkqtmathtextlib \
|
|
||||||
jkqtmathtextlib_sharedlib \
|
|
||||||
jkqtpcommonlib \
|
|
||||||
jkqtpcommonlib_sharedlib \
|
|
||||||
jkqtfastplotterlib \
|
|
||||||
jkqtfastplotterlib_sharedlib
|
jkqtfastplotterlib_sharedlib
|
||||||
|
|
||||||
|
|
||||||
jkqtplotterlib.file = qmake/staticlib/jkqtplotterlib/jkqtplotterlib.pro
|
|
||||||
jkqtplotterlib_sharedlib.file = qmake/sharedlib/jkqtplotterlib/jkqtplotterlib.pro
|
jkqtplotterlib_sharedlib.file = qmake/sharedlib/jkqtplotterlib/jkqtplotterlib.pro
|
||||||
|
|
||||||
jkqtmathtextlib.file = qmake/staticlib/jkqtmathtextlib/jkqtmathtextlib.pro
|
|
||||||
jkqtmathtextlib_sharedlib.file = qmake/sharedlib/jkqtmathtextlib/jkqtmathtextlib.pro
|
|
||||||
|
|
||||||
jkqtpcommonlib.file = qmake/staticlib/jkqtpcommonlib/jkqtpcommonlib.pro
|
|
||||||
jkqtpcommonlib_sharedlib.file = qmake/sharedlib/jkqtpcommonlib/jkqtpcommonlib.pro
|
|
||||||
|
|
||||||
jkqtfastplotterlib.file = qmake/staticlib/jkqtfastplotterlib/jkqtfastplotterlib.pro
|
|
||||||
jkqtfastplotterlib_sharedlib.file = qmake/sharedlib/jkqtfastplotterlib/jkqtfastplotterlib.pro
|
jkqtfastplotterlib_sharedlib.file = qmake/sharedlib/jkqtfastplotterlib/jkqtfastplotterlib.pro
|
||||||
|
8
lib/jkqtplotter_pch.pri
Normal file
8
lib/jkqtplotter_pch.pri
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
isEmpty(JKQTP_PLOTTER_PRECOMP_PRI_INCLUDED) {
|
||||||
|
JKQTP_PLOTTER_PRECOMP_PRI_INCLUDED = 1
|
||||||
|
|
||||||
|
INCLUDEPATH += $PWD
|
||||||
|
|
||||||
|
|
||||||
|
PRECOMPILED_HEADER = $$PWD/jkqtplotter/private/jkqtplotter_precomp.h
|
||||||
|
}
|
@ -20,3 +20,9 @@ include(../../../lib/jkqtplotter.pri)
|
|||||||
include(../../../lib/jkqtpcommon.pri)
|
include(../../../lib/jkqtpcommon.pri)
|
||||||
include(../../../lib/jkqtmathtext.pri)
|
include(../../../lib/jkqtmathtext.pri)
|
||||||
include(../../../lib/jkqtfastplotter.pri)
|
include(../../../lib/jkqtfastplotter.pri)
|
||||||
|
|
||||||
|
|
||||||
|
include(../../../lib/jkqtplotter_pch.pri)
|
||||||
|
precompile_header:!isEmpty(PRECOMPILED_HEADER) {
|
||||||
|
DEFINES += USING_PCH
|
||||||
|
}
|
||||||
|
@ -16,3 +16,10 @@ include(../../../lib/jkqtfastplotter.pri)
|
|||||||
|
|
||||||
win32-msvc*: DEFINES += _USE_MATH_DEFINES
|
win32-msvc*: DEFINES += _USE_MATH_DEFINES
|
||||||
win32-msvc*: DEFINES += NOMINMAX
|
win32-msvc*: DEFINES += NOMINMAX
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
include(../../../lib/jkqtplotter_pch.pri)
|
||||||
|
precompile_header:!isEmpty(PRECOMPILED_HEADER) {
|
||||||
|
DEFINES += USING_PCH
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user