Is there any way to set the location of the stats log file so that it's only valid for a single call to ccache --show-log-stats -v
?
Some things I have tried:
CCACHE_STATSLOG=<path to file> ccache --show-log-stats -v
which works on Unix, but not on Windows.
ccache stats_log=<path to file> --show-log-stats -v
which results in the following error: ccache: error: Could not find compiler "--show-log-stats" in PATH
I know it's possible to set an environment variable or create a configuration file and store the option there, but this is part of a build script with several build commands that use different stats files.