diff options
author | Brad King <brad.king@kitware.com> | 2009-06-16 15:57:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-06-16 15:57:18 (GMT) |
commit | 5129c23cba388a1aecc754bd4c1cb179ba4735d3 (patch) | |
tree | 2e69a877bf983d7cd794a27a6de062ecca18b2fe /Source/cmLocalVisualStudio6Generator.h | |
parent | 66189b0b7970d9270845a2d2ee725a7c357cc0ac (diff) | |
download | CMake-5129c23cba388a1aecc754bd4c1cb179ba4735d3.zip CMake-5129c23cba388a1aecc754bd4c1cb179ba4735d3.tar.gz CMake-5129c23cba388a1aecc754bd4c1cb179ba4735d3.tar.bz2 |
ENH: Refactor VS 6 build event generation
In cmLocalVisualStudio6Generator we generate pre-build, pre-link, and
post-build events into project files. This refactors the generation
code for the three event types into a private EventWriter class to avoid
duplicate code.
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.h')
-rw-r--r-- | Source/cmLocalVisualStudio6Generator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.h b/Source/cmLocalVisualStudio6Generator.h index 22415db..8a46444 100644 --- a/Source/cmLocalVisualStudio6Generator.h +++ b/Source/cmLocalVisualStudio6Generator.h @@ -93,6 +93,8 @@ private: const cmCustomCommand& origCommand); void WriteGroup(const cmSourceGroup *sg, cmTarget& target, std::ostream &fout, const char *libName); + class EventWriter; + friend class EventWriter; std::string CreateTargetRules(cmTarget &target, const char* configName, const char *libName); |