summaryrefslogtreecommitdiff
path: root/Source/cmLocalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-03 15:28:36 -0400
committerBrad King <brad.king@kitware.com>2020-09-04 09:44:30 -0400
commitaea465793e9744fcda0c26dad14c0620b7448f14 (patch)
tree49755bcc289a1d1864acaee9a474e3171d4eb8db /Source/cmLocalVisualStudio10Generator.h
parent152724274534def1126f97a28f0ce9f0e126a2b2 (diff)
downloadcmake-aea465793e9744fcda0c26dad14c0620b7448f14.tar.gz
cmLocalVisualStudio7Generator: Consolidate target iteration
Combine iteration with `cmLocalVisualStudio10Generator` and dispatch generation of each target with a virtual `GenerateTarget` method.
Diffstat (limited to 'Source/cmLocalVisualStudio10Generator.h')
-rw-r--r--Source/cmLocalVisualStudio10Generator.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/cmLocalVisualStudio10Generator.h b/Source/cmLocalVisualStudio10Generator.h
index a12247cac3..631132ec7a 100644
--- a/Source/cmLocalVisualStudio10Generator.h
+++ b/Source/cmLocalVisualStudio10Generator.h
@@ -25,10 +25,6 @@ public:
virtual ~cmLocalVisualStudio10Generator();
- /**
- * Generate the makefile for this directory.
- */
- void Generate() override;
void ReadAndStoreExternalGUID(const std::string& name,
const char* path) override;
@@ -43,7 +39,7 @@ protected:
bool CustomCommandUseLocal() const override { return true; }
private:
- void GenerateTarget(cmGeneratorTarget* target);
+ void GenerateTarget(cmGeneratorTarget* target) override;
std::map<cmGeneratorTarget const*, std::set<cmSourceFile const*>>
SourcesVisited;