]> code.ossystems Code Review - openembedded-core.git/commit
cmake: Use compiler launcher variable when ccache is enabled
authorPhilippe Normand <philn@igalia.com>
Wed, 29 May 2019 08:40:42 +0000 (09:40 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 May 2019 11:34:56 +0000 (12:34 +0100)
commit0a36d1b342c0b4760bc75794c2e941a17012bc19
treef2ddef7a6ce287e47d237e6fed83777ef62013c4
parentd66114b07ef3e8482fee4c3c93e4f6324c38da3b
cmake: Use compiler launcher variable when ccache is enabled

Setting the CMAKE_C{,XX}_COMPILER_LAUNCHER variables is the recomended way to
deal with ccache in CMake. It allows build scripts to optionally opt-out of
ccache, which is especially useful when the pre-processed GCC output is required.

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cmake.bbclass