refs #213 Added precompiled header for MSVC in blackmisc, blackcore, blackgui.

This commit is contained in:
Mathew Sutcliffe
2017-02-17 18:14:27 +00:00
parent 01ccb4d023
commit e7f61dabea
10 changed files with 278 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ QT += network dbus xml
TARGET = blackmisc
TEMPLATE = lib
CONFIG += blackconfig
CONFIG += blackconfig precompile_header
contains(BLACK_CONFIG, Static) {
CONFIG += staticlib
@@ -12,10 +12,8 @@ contains(BLACK_CONFIG, Static) {
INCLUDEPATH += ..
# DEPENDPATH += . .. // BlackMisc should be independent
# PRECOMPILED_HEADER = stdpch.h
precompile_header:!isEmpty(PRECOMPILED_HEADER) {
DEFINES += USING_PCH
}
PRECOMPILED_HEADER = pch/pch.h
DEFINES += LOG_IN_FILE BUILD_BLACKMISC_LIB
RESOURCES += blackmisc.qrc