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

Can't use clcache from terminal when using VS #356

@Cascades

Description

@Cascades

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions