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

@@ -6,7 +6,7 @@ QT += network dbus xml multimedia
TARGET = blackcore
TEMPLATE = lib
CONFIG += blackconfig blackmisc blackinput blacksound
CONFIG += blackconfig blackmisc blackinput blacksound precompile_header
contains(BLACK_CONFIG, Static) {
CONFIG += staticlib
@@ -15,10 +15,7 @@ contains(BLACK_CONFIG, Static) {
INCLUDEPATH += ..
DEPENDPATH += . ..
# PRECOMPILED_HEADER = stdpch.h
precompile_header:!isEmpty(PRECOMPILED_HEADER) {
DEFINES += USING_PCH
}
PRECOMPILED_HEADER = pch/pch.h
DEFINES += LOG_IN_FILE BUILD_BLACKCORE_LIB