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

Update Visual Studio Integration Docs #362

Open
rioki opened this issue Nov 11, 2019 · 0 comments
Open

Update Visual Studio Integration Docs #362

rioki opened this issue Nov 11, 2019 · 0 comments

Comments

@rioki
Copy link

rioki commented Nov 11, 2019

As per the last comment in #18 there is a less intrusive way to integrate clcache.

Each vcxproj file should include "$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" In this props file you can add the following snipet (when installed with chocolatey):

<PropertyGroup>
    <CLToolExe>clcache.exe</CLToolExe>
    <CLToolPath>C:\ProgramData\chocolatey\bin\</CLToolPath>
    <TrackFileAccess>false</TrackFileAccess>
</PropertyGroup> 

The will neither mean you need to tamper with your Visual Studio installation or your project files.

It would be nice, if the documentation can be updated accordingly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant