From 98035c5c83475ce13828d0090bc0b8c7bd77cc6d Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Sat, 21 Nov 2020 12:07:44 -0500 Subject: [PATCH] Add ccache to the build where possible (#2201) --- chatterino.pro | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chatterino.pro b/chatterino.pro index 7dd4d1e9..568a4bfa 100644 --- a/chatterino.pro +++ b/chatterino.pro @@ -8,6 +8,12 @@ # from lib/boost.pri # - BOOST_DIRECTORY (C:\local\boost\ by default) (Windows only) +CCACHE_BIN = $$system(which ccache) +!isEmpty(CCACHE_BIN) { + load(ccache) + CONFIG+=ccache +} + MINIMUM_REQUIRED_QT_VERSION = 5.12.0 !versionAtLeast(QT_VERSION, $$MINIMUM_REQUIRED_QT_VERSION) {