summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-06-12 19:28:48 (GMT)
committerBrad King <brad.king@kitware.com>2009-06-12 19:28:48 (GMT)
commit4a9dd4aad401c6310b4c546aa5442b7f684e7343 (patch)
treea608d73de128db459d87ab67c498fbd1c933847d /Source/cmLocalVisualStudio7Generator.h
parent17daa9398ad419daba6431e9cc5c39624ad48beb (diff)
downloadCMake-4a9dd4aad401c6310b4c546aa5442b7f684e7343.zip
CMake-4a9dd4aad401c6310b4c546aa5442b7f684e7343.tar.gz
CMake-4a9dd4aad401c6310b4c546aa5442b7f684e7343.tar.bz2
ENH: Refactor VS 7,8,9 build event generation
In cmLocalVisualStudio7Generator 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/cmLocalVisualStudio7Generator.h')
-rw-r--r--Source/cmLocalVisualStudio7Generator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.h b/Source/cmLocalVisualStudio7Generator.h
index edb90aa..8796130 100644
--- a/Source/cmLocalVisualStudio7Generator.h
+++ b/Source/cmLocalVisualStudio7Generator.h
@@ -123,6 +123,9 @@ private:
friend class cmLocalVisualStudio7GeneratorFCInfo;
friend class cmLocalVisualStudio7GeneratorInternals;
+ class EventWriter;
+ friend class EventWriter;
+
cmVS7FlagTable const* ExtraFlagTable;
std::string ModuleDefinitionFile;
int Version;