summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-03 19:28:36 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-04 13:44:30 (GMT)
commitaea465793e9744fcda0c26dad14c0620b7448f14 (patch)
tree49755bcc289a1d1864acaee9a474e3171d4eb8db /Source/cmLocalVisualStudio7Generator.h
parent152724274534def1126f97a28f0ce9f0e126a2b2 (diff)
downloadCMake-aea465793e9744fcda0c26dad14c0620b7448f14.zip
CMake-aea465793e9744fcda0c26dad14c0620b7448f14.tar.gz
CMake-aea465793e9744fcda0c26dad14c0620b7448f14.tar.bz2
cmLocalVisualStudio7Generator: Consolidate target iteration
Combine iteration with `cmLocalVisualStudio10Generator` and dispatch generation of each target with a virtual `GenerateTarget` method.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.h')
-rw-r--r--Source/cmLocalVisualStudio7Generator.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.h b/Source/cmLocalVisualStudio7Generator.h
index d76fc82..9ccd1a1 100644
--- a/Source/cmLocalVisualStudio7Generator.h
+++ b/Source/cmLocalVisualStudio7Generator.h
@@ -84,7 +84,7 @@ public:
const char* path);
protected:
- void CreateSingleVCProj(const std::string& lname, cmGeneratorTarget* tgt);
+ virtual void GenerateTarget(cmGeneratorTarget* target);
private:
using Options = cmVS7GeneratorOptions;
@@ -92,7 +92,6 @@ private:
std::string GetBuildTypeLinkerFlags(std::string rootLinkerFlags,
const std::string& configName);
void FixGlobalTargets();
- void WriteProjectFiles();
void WriteVCProjHeader(std::ostream& fout, const std::string& libName,
cmGeneratorTarget* tgt,
std::vector<cmSourceGroup>& sgs);