Add configuration options that depend on the command type
Add RECC_COMPILE_CACHE_ONLY
, RECC_LINK_CACHE_ONLY
, RECC_COMPILE_REMOTE_PLATFORM
, and RECC_LINK_REMOTE_PLATFORM
. These new configuration options are equivalent to the corresponding configuration options without COMPILE
or LINK
in the name except that they only apply to compile or link commands, respectively.
This allows using cache-only for compile commands and remote execution for link commands, and vice versa.