summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio11Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-11-14 09:42:51 -0500
committerBrad King <brad.king@kitware.com>2011-11-14 09:50:47 -0500
commitc92ffece804cd177c3531e58a39c3f0a6487d67d (patch)
tree9e98a0c734edcf6252313bc1b2c5b078644a434d /Source/cmGlobalVisualStudio11Generator.h
parent1be4b6f4638334970a3d3f19891b5997ddcf5717 (diff)
downloadcmake-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.h3
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: