summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudioGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-11-14 14:42:51 (GMT)
committerBrad King <brad.king@kitware.com>2011-11-14 14:50:47 (GMT)
commitc92ffece804cd177c3531e58a39c3f0a6487d67d (patch)
tree9e98a0c734edcf6252313bc1b2c5b078644a434d /Source/cmLocalVisualStudioGenerator.h
parent1be4b6f4638334970a3d3f19891b5997ddcf5717 (diff)
downloadCMake-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/cmLocalVisualStudioGenerator.h')
-rw-r--r--Source/cmLocalVisualStudioGenerator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudioGenerator.h b/Source/cmLocalVisualStudioGenerator.h
index 9794d59..fcf1f21 100644
--- a/Source/cmLocalVisualStudioGenerator.h
+++ b/Source/cmLocalVisualStudioGenerator.h
@@ -37,7 +37,8 @@ public:
VS71 = 71,
VS8 = 80,
VS9 = 90,
- VS10 = 100
+ VS10 = 100,
+ VS11 = 110
};
cmLocalVisualStudioGenerator(VSVersion v);