This repository was archived by the owner on Feb 4, 2020. It is now read-only.

Description
So I am using CMake with VS, to avoid the error described in #342 , I am using this at the top of my CMakeLists.txt
set( ENV{CLCACHE_DIR} C:/clcache_cache )
Which works great!... except any calls to things like clcache -s in the terminal still point to the default, userspace, directory for the cache.
This will most likely be because CMake doesn't, and I believe can't export the env var for general use. Would it be possible to have clcache detect where it is currently actually using the cache, or to specify which cache dir to use like clcache -s -d C:/clcache_cache or something similar.