Disable precompiled headers for clang in linux.

--HG--
branch : develop
This commit is contained in:
dismine 2014-10-04 09:31:34 +03:00
parent 73655bf6a8
commit 7aa9c0464e
3 changed files with 21 additions and 15 deletions

View File

@ -99,11 +99,13 @@ unix {
} }
} }
CONFIG += precompile_header unix:!macx:!clang*{
# Precompiled headers (PCH) CONFIG += precompile_header
PRECOMPILED_HEADER = stable.h # Precompiled headers (PCH)
win32-msvc* { PRECOMPILED_HEADER = stable.h
win32-msvc* {
PRECOMPILED_SOURCE = stable.cpp PRECOMPILED_SOURCE = stable.cpp
}
} }
CONFIG(debug, debug|release){ CONFIG(debug, debug|release){

View File

@ -63,11 +63,13 @@ unix {
} }
} }
CONFIG += precompile_header unix:!macx:!clang*{
# Precompiled headers (PCH) CONFIG += precompile_header
PRECOMPILED_HEADER = stable.h # Precompiled headers (PCH)
win32-msvc* { PRECOMPILED_HEADER = stable.h
win32-msvc* {
PRECOMPILED_SOURCE = stable.cpp PRECOMPILED_SOURCE = stable.cpp
}
} }
include(../../../Valentina.pri) include(../../../Valentina.pri)

View File

@ -106,11 +106,13 @@ unix {
} }
} }
CONFIG += precompile_header unix:!macx:!clang*{
# Precompiled headers (PCH) CONFIG += precompile_header
PRECOMPILED_HEADER = stable.h # Precompiled headers (PCH)
win32-msvc* { PRECOMPILED_HEADER = stable.h
win32-msvc* {
PRECOMPILED_SOURCE = stable.cpp PRECOMPILED_SOURCE = stable.cpp
}
} }
include(../../../Valentina.pri) include(../../../Valentina.pri)