diff options
author | Brad King <brad.king@kitware.com> | 2014-07-22 15:01:05 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-22 15:05:36 -0400 |
commit | f5c0efdbe4d67a6f262dd670923674b003af1726 (patch) | |
tree | 0e995e4ac7421e0bbfb764409fd2ef1c349f102a /Source/cmGlobalVisualStudio10Generator.h | |
parent | 5c38fc1628b66ed405d66848e64f17834079d846 (diff) | |
download | cmake-f5c0efdbe4d67a6f262dd670923674b003af1726.tar.gz |
cmGlobalGenerator: Create a non-virtual 'DoGenerate' method
Make the virtual 'Generate' method protected. Make 'DoGenerate'
the main entry point to generation. This gives cmGlobalGenerator
a chance to do some early operations before the individual
generator-specific implementations take over.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h index cb639dd83a..9f154e94f6 100644 --- a/Source/cmGlobalVisualStudio10Generator.h +++ b/Source/cmGlobalVisualStudio10Generator.h @@ -47,8 +47,6 @@ public: ///! create the correct local generator virtual cmLocalGenerator *CreateLocalGenerator(); - virtual void Generate(); - /** * Try to determine system infomation such as shared library * extension, pthreads, byte order etc. @@ -93,6 +91,8 @@ public: virtual void FindMakeProgram(cmMakefile*); protected: + virtual void Generate(); + virtual const char* GetIDEVersion() { return "10.0"; } std::string const& GetMSBuildCommand(); |