Disable requirement of using ccache.
--HG-- branch : develop
This commit is contained in:
parent
fb054879e0
commit
f92df37f12
|
@ -70,22 +70,26 @@ defineReplace(set_PCH){
|
||||||
}
|
}
|
||||||
|
|
||||||
defineReplace(enable_ccache){
|
defineReplace(enable_ccache){
|
||||||
# ccache support only Unix systems.
|
no_ccache{ # For enable run qmake with CONFIG+=no_ccache
|
||||||
unix:{
|
# do nothing
|
||||||
# This need for turn on ccache.
|
} else {
|
||||||
*-g++{
|
# ccache support only Unix systems.
|
||||||
QMAKE_CC = ccache gcc
|
unix:{
|
||||||
export(QMAKE_CC) # export value to global variable.
|
# This need for turn on ccache.
|
||||||
|
*-g++{
|
||||||
|
QMAKE_CC = ccache gcc
|
||||||
|
export(QMAKE_CC) # export value to global variable.
|
||||||
|
|
||||||
QMAKE_CXX = ccache g++
|
QMAKE_CXX = ccache g++
|
||||||
export(QMAKE_CXX) # export value to global variable.
|
export(QMAKE_CXX) # export value to global variable.
|
||||||
}
|
}
|
||||||
clang*{
|
clang*{
|
||||||
QMAKE_CC = ccache clang
|
QMAKE_CC = ccache clang
|
||||||
export(QMAKE_CC) # export value to global variable.
|
export(QMAKE_CC) # export value to global variable.
|
||||||
|
|
||||||
QMAKE_CXX = ccache clang++
|
QMAKE_CXX = ccache clang++
|
||||||
export(QMAKE_CXX) # export value to global variable.
|
export(QMAKE_CXX) # export value to global variable.
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return(true)
|
return(true)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user