Skip to content

Commit 2a0677e

Browse files
committed
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 <[email protected]>
1 parent ddcd947 commit 2a0677e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/core/config/common.pri

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,7 @@ qtConfig(webengine-kerberos) {
114114
}
115115

116116
!msvc: gn_args += enable_iterator_debugging=false
117+
118+
ccache {
119+
gn_args += cc_wrapper=\"ccache\"
120+
}

0 commit comments

Comments
 (0)