On Thu, Dec 26, 2013 at 2:03 PM, Kevin Krammer <[email protected]>wrote:

> On Thursday, 2013-12-26, 02:12:21, Muhammad Bashir Al-Noimi wrote:
> > On 12/25/2013 09:21 PM, Kevin Krammer wrote:
> > > You define it as the C and C++ compiler.
> > >
> > > E.g. by setting the CC and CXX environment variables or creating a
> > > specialized mkspec or by overwriting the QMAKE_CC and QMAKE_CXX
> > > variables, etc.
> > Sorry I didn't get it! may you please explain more?
>
> ccache "replaces" the compiler calls, i.e. the Makefile calls ccache, which
> the calls the actual compiler if it doesn't find a cached result.
>
> You can use any technique you want to make the build system pick up ccache
> instead of the actual compiler.  I've mentioned a couple of those, the
> ccache
> documentation has additional ones.
>
> Cheers,
> Kevin
> --
> Kevin Krammer | [email protected] | Software Engineer
> Klarälvdalens Datakonsult AB, a KDAB Group company
> Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
> KDAB - Qt Experts - Platform-independent software solutions
>
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
>
QMAKE_CC = ccache $$QMAKE_CC
QMAKE_CXX = ccache $$QMAKE_CXX

- Orgad
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to