VS: Prevent generated "rule" files from causing rebuilds

When we generate a ".rule" file to attach a custom command in a VS IDE
project, set the file timestamp to be old enough to prevent the rule
from re-running due to its timestamp.
This commit is contained in:
Mike Pagel
2015-09-28 15:33:10 +02:00
committed by Brad King
parent 6c6a8c5d5a
commit fa5284f07f
2 changed files with 29 additions and 0 deletions

View File

@@ -130,6 +130,8 @@ private:
cmIDEFlagTable const* GetLinkFlagTable() const;
cmIDEFlagTable const* GetMasmFlagTable() const;
bool ForceOld(const std::string& source) const;
private:
typedef cmVisualStudioGeneratorOptions Options;
typedef std::map<std::string, Options*> OptionsMap;