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/cmLocalVisualStudioGenerator.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/cmLocalVisualStudioGenerator.h')
-rw-r--r-- | Source/cmLocalVisualStudioGenerator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudioGenerator.h b/Source/cmLocalVisualStudioGenerator.h index 9794d59a86..fcf1f21f0a 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); |