Precompiled headers only for debug version.
--HG-- branch : develop
This commit is contained in:
parent
74a7cfe6e8
commit
3f03400f3d
|
@ -14,16 +14,10 @@ DEBUG_TARGET = Valentinad
|
||||||
RELEASE_TARGET = Valentina
|
RELEASE_TARGET = Valentina
|
||||||
|
|
||||||
CONFIG -= debug_and_release debug_and_release_target
|
CONFIG -= debug_and_release debug_and_release_target
|
||||||
CONFIG += c++11 precompile_header
|
CONFIG += c++11
|
||||||
|
|
||||||
#DEFINES += ...
|
#DEFINES += ...
|
||||||
|
|
||||||
# Precompiled headers (PCH)
|
|
||||||
PRECOMPILED_HEADER = src/stable.h
|
|
||||||
win32-msvc* {
|
|
||||||
PRECOMPILED_SOURCE = src/stable.cpp
|
|
||||||
}
|
|
||||||
|
|
||||||
# directory for executable file
|
# directory for executable file
|
||||||
DESTDIR = bin
|
DESTDIR = bin
|
||||||
|
|
||||||
|
@ -63,6 +57,13 @@ CONFIG(debug, debug|release){
|
||||||
QMAKE_CXX = ccache g++
|
QMAKE_CXX = ccache g++
|
||||||
TARGET = $$DEBUG_TARGET
|
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" \
|
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/QtXml" -isystem "/usr/include/qt5/QtGui" \
|
||||||
-isystem "/usr/include/qt5/QtCore" -isystem "$$OUT_PWD/uic" -isystem "$$OUT_PWD/moc/" \
|
-isystem "/usr/include/qt5/QtCore" -isystem "$$OUT_PWD/uic" -isystem "$$OUT_PWD/moc/" \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user