From 2a0677ec1d3f9e849eb61ec99c5682cf0b87f4b9 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Fri, 12 Jul 2019 14:16:16 +0200 Subject: If Qt is configured with ccache feature pass that along to GN This will set the cc_wrapper to ccache when running GN, which in turn will prefix all compiler calls with ccache. This allows a nice way of using ccache and icecream on macOS. Change-Id: I19ca1261aa8ebc4aaf7f8c34b3cb363baa29de01 Reviewed-by: Allan Sandfeld Jensen --- src/core/config/common.pri | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/config/common.pri b/src/core/config/common.pri index c8c3d55f6..42cf445df 100644 --- a/src/core/config/common.pri +++ b/src/core/config/common.pri @@ -114,3 +114,7 @@ qtConfig(webengine-kerberos) { } !msvc: gn_args += enable_iterator_debugging=false + +ccache { + gn_args += cc_wrapper=\"ccache\" +} -- cgit v1.2.3