Precompiled headers only for debug version.

--HG--
branch : develop
This commit is contained in:
dismine 2013-11-21 12:03:25 +02:00
parent 74a7cfe6e8
commit 3f03400f3d

View File

@ -14,16 +14,10 @@ DEBUG_TARGET = Valentinad
RELEASE_TARGET = Valentina
CONFIG -= debug_and_release debug_and_release_target
CONFIG += c++11 precompile_header
CONFIG += c++11
#DEFINES += ...
# Precompiled headers (PCH)
PRECOMPILED_HEADER = src/stable.h
win32-msvc* {
PRECOMPILED_SOURCE = src/stable.cpp
}
# directory for executable file
DESTDIR = bin
@ -63,6 +57,13 @@ CONFIG(debug, debug|release){
QMAKE_CXX = ccache g++
TARGET = $$DEBUG_TARGET
CONFIG += precompile_header
# Precompiled headers (PCH)
PRECOMPILED_HEADER = src/stable.h
win32-msvc* {
PRECOMPILED_SOURCE = src/stable.cpp
}
QMAKE_CXXFLAGS += -isystem "/usr/include/qt5" -isystem "/usr/include/qt5/QtWidgets" \
-isystem "/usr/include/qt5/QtXml" -isystem "/usr/include/qt5/QtGui" \
-isystem "/usr/include/qt5/QtCore" -isystem "$$OUT_PWD/uic" -isystem "$$OUT_PWD/moc/" \