diff options
author | Brad King <brad.king@kitware.com> | 2011-11-14 14:42:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-11-14 14:50:47 (GMT) |
commit | c92ffece804cd177c3531e58a39c3f0a6487d67d (patch) | |
tree | 9e98a0c734edcf6252313bc1b2c5b078644a434d /Source/cmGlobalVisualStudio11Generator.h | |
parent | 1be4b6f4638334970a3d3f19891b5997ddcf5717 (diff) | |
download | CMake-c92ffece804cd177c3531e58a39c3f0a6487d67d.zip CMake-c92ffece804cd177c3531e58a39c3f0a6487d67d.tar.gz CMake-c92ffece804cd177c3531e58a39c3f0a6487d67d.tar.bz2 |
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 14019a7..7e8f6aa 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: |