diff options
author | Mike Pagel <Mike.Pagel@bmw.de> | 2015-09-28 15:33:10 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-28 10:58:57 -0400 |
commit | fa5284f07f20e6d62ca5d2dab36ecc48c0511eba (patch) | |
tree | 9b94b4c0bb58860dbbb2c8a47fcac60145082f87 /Source/cmVisualStudio10TargetGenerator.h | |
parent | 6c6a8c5d5a648b5847042f55fd36ba9a51b0166a (diff) | |
download | cmake-fa5284f07f20e6d62ca5d2dab36ecc48c0511eba.tar.gz |
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.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.h')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h index 5fadb6047f..f2aaf0507f 100644 --- a/Source/cmVisualStudio10TargetGenerator.h +++ b/Source/cmVisualStudio10TargetGenerator.h @@ -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; |