Menu

#7 How to enable ccache

1.0
open
None
2014-05-06
2014-05-06
No

I think you said you use ccache to speed this up. I put this in cctw.pro but get no effect:

linux-*:exists(/usr/bin/ccache):QMAKE_CXX=ccache g++

Discussion

  • Guy Jennings

    Guy Jennings - 2014-05-06

    Actually, you shouldn't need to make any changes - if ccache is installed it provides gcc and g++ commands which can be used exactly as before.

     
  • Guy Jennings

    Guy Jennings - 2014-05-06

    There's also a distcc compiler which can distribute compilations across machines in a cluster but I haven't tried it.

     

Log in to post a comment.