4
0
mirror of https://github.com/QuasarApp/QuasarAppLib.git synced 2025-05-02 12:39:41 +00:00

23 lines
496 B
Plaintext
Raw Normal View History

2019-08-22 17:48:23 +03:00
#
2021-01-05 13:04:05 +03:00
# Copyright (C) 2018-2021 QuasarApp.
2019-08-22 17:48:23 +03:00
# Distributed under the lgplv3 software license, see the accompanying
# Everyone is permitted to copy and distribute verbatim copies
# of this license document, but changing it is not allowed.
#
!isEmpty(CCACHE_INCLUDE):error("ccache.pri already included")
CCACHE_INCLUDE = 1
2019-08-22 18:04:57 +03:00
contains(QMAKE_HOST.os, Linux):{
2019-08-22 17:48:23 +03:00
BIN = $$system(which ccache)
2019-09-14 17:21:25 +03:00
2019-08-22 17:48:23 +03:00
!isEmpty(BIN) {
message(ccache detected in $$BIN)
QMAKE_CXX='$$BIN $$QMAKE_CXX'
}
}