I generate Visual Studio projects from cmake and use them for development in the Studio. Now I want to run build cache tool (GitHub - mbitsnbites/buildcache: A build cache) to speed my build times.
The tool requires to set object file names to $(IntDir)%(Filename).obj instead of $(IntDir), so compiler is invoked for each file.
So I tried to add target_compile_options for my cmake target with /Fo$(IntDir)%(Filename).obj and it adds <ObjectFileName>$(IntDir)%%(Filename).obj</ObjectFileName> element to the generated vcxproj file. But then there is one more ObjectFileName element added: <ObjectFileName>$(IntDir)</ObjectFileName>
Is it ok to fix the visual studio generator to make it not generate the second ObjectFileName and send pull request?