diff options
author | Brad King <brad.king@kitware.com> | 2011-11-14 09:42:51 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-11-14 09:50:47 -0500 |
commit | c92ffece804cd177c3531e58a39c3f0a6487d67d (patch) | |
tree | 9e98a0c734edcf6252313bc1b2c5b078644a434d /Source/cmGlobalVisualStudio11Generator.h | |
parent | 1be4b6f4638334970a3d3f19891b5997ddcf5717 (diff) | |
download | cmake-c92ffece804cd177c3531e58a39c3f0a6487d67d.tar.gz |
Enumerate VS11 version explicitly in local generators
Since the parent commit the local generator Version ivar may be
compared for ordering. Convert comparisons:
"==VS10" becomes ">=VS10"
"!=VS10" becomes "< VS10"
to support an explicit enumeration value for VS11 with no change
in behavior.
Diffstat (limited to 'Source/cmGlobalVisualStudio11Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio11Generator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio11Generator.h b/Source/cmGlobalVisualStudio11Generator.h index 14019a7d86..7e8f6aa4ea 100644 --- a/Source/cmGlobalVisualStudio11Generator.h +++ b/Source/cmGlobalVisualStudio11Generator.h @@ -35,6 +35,9 @@ public: /** Get the documentation entry for this generator. */ virtual void GetDocumentation(cmDocumentationEntry& entry) const; + ///! create the correct local generator + virtual cmLocalGenerator *CreateLocalGenerator(); + /** TODO: VS 11 user macro support. */ virtual std::string GetUserMacrosDirectory() { return ""; } protected: |