Page MenuHomePhabricator

[CMAKE] Add a status message to inform the user that ccache is used

Authored by Fabien on Dec 19 2019, 14:21.



If ccache is not found nothing is printed.

Test Plan

With ccache installed:

cmake -GNinja .. | grep ccache

Should display something like:

  • Using ccache: /usr/bin/ccache cmake -GNinja .. -DCCACHE=OFF | grep ccache

Should return nothing.

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Dec 19 2019, 14:21
Herald added a reviewer: Restricted Project. · View Herald TranscriptDec 19 2019, 14:21
fpelliccioni accepted this revision as: fpelliccioni.Dec 19 2019, 14:23
This revision is now accepted and ready to land.Dec 19 2019, 14:23
fpelliccioni accepted this revision.Dec 19 2019, 15:59