frerich / clcache

A compiler cache for MSVC, much like ccache for gcc
Other
326 stars 83 forks source link

Changing one file is not build, but first project in dependency is rebuilt #340

Closed 9a4gl closed 5 years ago

9a4gl commented 5 years ago

Using VS2017, clcache 2.4.0 installed using pip

I replaced cl.exe and cl.exe.config to cl_orginal.exe and cl_original.exe.config. Copied clcache.exe as cl.exe there. CLCACHE_CL is set to cl_original.exe.

Full rebuild is fast, but.

I have several projects and dependencies between them. If I change one file in project and try to build only that project, it does not build anything in that project. Instead it builds first project in dependency tree, it builds it fully (which is not necessary as nothing changed there), and it does not build changed file. Any idea why ?

BR, Tihomir

9a4gl commented 5 years ago

Looks to be known issue, closing this one. IMO, it should be documented somewhere as known issue.