summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.h
diff options
context:
space:
mode:
authorMike Pagel <Mike.Pagel@bmw.de>2015-09-28 13:33:10 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-28 14:58:57 (GMT)
commitfa5284f07f20e6d62ca5d2dab36ecc48c0511eba (patch)
tree9b94b4c0bb58860dbbb2c8a47fcac60145082f87 /Source/cmVisualStudio10TargetGenerator.h
parent6c6a8c5d5a648b5847042f55fd36ba9a51b0166a (diff)
downloadCMake-fa5284f07f20e6d62ca5d2dab36ecc48c0511eba.zip
CMake-fa5284f07f20e6d62ca5d2dab36ecc48c0511eba.tar.gz
CMake-fa5284f07f20e6d62ca5d2dab36ecc48c0511eba.tar.bz2
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h
index 5fadb60..f2aaf05 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;