summaryrefslogtreecommitdiff
path: root/Source/cmLocalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-03 15:38:25 -0400
committerBrad King <brad.king@kitware.com>2020-09-08 14:52:22 -0400
commit8bb5c96bf8bc363afa5da09ce1979614565d31ba (patch)
tree6eb38a64f7c482e9936b3e4af548ee2d9a523af8 /Source/cmLocalVisualStudio10Generator.h
parentaea465793e9744fcda0c26dad14c0620b7448f14 (diff)
downloadcmake-8bb5c96bf8bc363afa5da09ce1979614565d31ba.tar.gz
cmLocalVisualStudio7Generator: Adopt SourcesVisited lookup table
Move it up the hierarchy from `cmLocalVisualStudio10Generator`. Propagate contents from a target's dependencies as part of the main target iteration logic instead of as part of the generator-specific target generation.
Diffstat (limited to 'Source/cmLocalVisualStudio10Generator.h')
-rw-r--r--Source/cmLocalVisualStudio10Generator.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/cmLocalVisualStudio10Generator.h b/Source/cmLocalVisualStudio10Generator.h
index 631132ec7a..45ee0822c3 100644
--- a/Source/cmLocalVisualStudio10Generator.h
+++ b/Source/cmLocalVisualStudio10Generator.h
@@ -28,19 +28,10 @@ public:
void ReadAndStoreExternalGUID(const std::string& name,
const char* path) override;
- std::set<cmSourceFile const*>& GetSourcesVisited(
- cmGeneratorTarget const* target)
- {
- return SourcesVisited[target];
- };
-
protected:
const char* ReportErrorLabel() const override;
bool CustomCommandUseLocal() const override { return true; }
private:
void GenerateTarget(cmGeneratorTarget* target) override;
-
- std::map<cmGeneratorTarget const*, std::set<cmSourceFile const*>>
- SourcesVisited;
};