[CMake] Complete Rebuild Bug

owen.arnold at stfc.ac.uk owen.arnold at stfc.ac.uk
Tue Jul 10 09:09:50 EDT 2012


Hi,

Our windows builds are affected by this bug.

http://connect.microsoft.com/VisualStudio/feedback/details/649139/vs2010-does-complete-rebuild-based-on-completely-unrelated-file 

Which means that there is a lot of unnecessary building going on. Since disabling the anti-virus is not an option, the solutions all seem to involve modifying the *.vcxproj files, adding something like this:

<ItemGroup>
<ClNoDependencies Include="C:\PROGRAMDATA\SOPHOS\SOPHOS ANTI-VIRUS\CONFIG\CONFIG.BOPS"/>
</ItemGroup>

What's the best way for us to achieve this result using CMake? Is it even possible to make project file modifications using CMake?

Thanks in advance,
Owen.


-- 
Scanned by iCritical.


More information about the CMake mailing list