diff options
author | Brad King <brad.king@kitware.com> | 2014-07-22 19:01:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-22 19:05:36 (GMT) |
commit | f5c0efdbe4d67a6f262dd670923674b003af1726 (patch) | |
tree | 0e995e4ac7421e0bbfb764409fd2ef1c349f102a /Source/cmGlobalVisualStudioGenerator.h | |
parent | 5c38fc1628b66ed405d66848e64f17834079d846 (diff) | |
download | CMake-f5c0efdbe4d67a6f262dd670923674b003af1726.zip CMake-f5c0efdbe4d67a6f262dd670923674b003af1726.tar.gz CMake-f5c0efdbe4d67a6f262dd670923674b003af1726.tar.bz2 |
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/cmGlobalVisualStudioGenerator.h')
-rw-r--r-- | Source/cmGlobalVisualStudioGenerator.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.h b/Source/cmGlobalVisualStudioGenerator.h index 05dbb11..356f4d4 100644 --- a/Source/cmGlobalVisualStudioGenerator.h +++ b/Source/cmGlobalVisualStudioGenerator.h @@ -27,11 +27,6 @@ public: virtual ~cmGlobalVisualStudioGenerator(); /** - * Basic generate implementation for all VS generators. - */ - virtual void Generate(); - - /** * Configure CMake's Visual Studio macros file into the user's Visual * Studio macros directory. */ @@ -90,6 +85,8 @@ public: void ComputeTargetObjectDirectory(cmGeneratorTarget* gt) const; protected: + virtual void Generate(); + // Does this VS version link targets to each other if there are // dependencies in the SLN file? This was done for VS versions // below 8. |