<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:gray;
        font-weight:bold;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'>Hi all.
I noticed that CMakeDetermineVSServicePack.cmake only supports vs2005, vs2005
sp1, vs2008, vs2008 sp1. I wanted to use it for vs2010.<o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'><o:p> </o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'>I looked
for a bug but the only one I found was the one that resulted in the scripts
creation: <a href="http://public.kitware.com/Bug/view.php?id=8803">http://public.kitware.com/Bug/view.php?id=8803</a><o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'><o:p> </o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'>I have a
patch to fix it: (also attached)<o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'><o:p> </o:p></span></font></b></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 color=gray
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:gray;
font-weight:bold'>*** CMakeDetermineVSServicePack.cmake 2010-06-28
09:42:36.000000000 -0500<o:p></o:p></span></font></b></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 color=gray
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:gray;
font-weight:bold'>--- CMakeDetermineVSServicePackWith2010.cmake 2010-09-29
20:26:20.530212900 -0500<o:p></o:p></span></font></b></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 color=gray
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:gray;
font-weight:bold'>***************<o:p></o:p></span></font></b></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 color=gray
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:gray;
font-weight:bold'>*** 47,52 ****<o:p></o:p></span></font></b></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 color=gray
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:gray;
font-weight:bold'>--- 47,54 ----<o:p></o:p></span></font></b></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 color=gray
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:gray;
font-weight:bold'> set(_version "vc90")<o:p></o:p></span></font></b></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 color=gray
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:gray;
font-weight:bold'> elseif(${_cl_version} VERSION_EQUAL
"15.00.30729.01")<o:p></o:p></span></font></b></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 color=gray
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:gray;
font-weight:bold'> set(_version "vc90sp1")<o:p></o:p></span></font></b></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 color=gray
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:gray;
font-weight:bold'>+ elseif(${_cl_version} VERSION_EQUAL
"16.00.30319.01")<o:p></o:p></span></font></b></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 color=gray
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:gray;
font-weight:bold'>+ set(_version "vc100")<o:p></o:p></span></font></b></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 color=gray
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:gray;
font-weight:bold'> else()<o:p></o:p></span></font></b></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 color=gray
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:gray;
font-weight:bold'> set(_version "")<o:p></o:p></span></font></b></p>
<p class=MsoNormal style='margin-left:.5in'><b><font size=2 color=gray
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:gray;
font-weight:bold'> endif()<o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'><o:p> </o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'>Should I
open a new bug for this and add a patch to it, or reopen the old bug (feature
request) with this patch?<o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'><o:p> </o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'>Thanks!<o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'><o:p> </o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'>--aaron<o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'><o:p> </o:p></span></font></b></p>
<div style='border:none;border-top:dotted silver 1.0pt;padding:4.0pt 0in 0in 0in'>
<p class=MsoNormal><b><font size=1 color="#666666" face=Arial><span
style='font-size:9.0pt;font-family:Arial;color:#666666;font-weight:bold'>Aaron
Meadows</span></span></font></b><font size=1 color="#666666" face=Arial><span
style='font-size:9.0pt;font-family:Arial;color:#666666'><br>
Software Engineer<o:p></o:p></span></font></p>
<p style='mso-margin-top-alt:9.0pt;margin-right:0in;margin-bottom:9.0pt;
margin-left:0in'><b><font size=1 color="#f57f20" face=Arial><span
style='font-size:9.0pt;font-family:Arial;color:#F57F20;font-weight:bold'>Thomson
Reuters<o:p></o:p></span></font></b></p>
<p class=MsoNormal><font size=1 color="#666666" face=Arial><span
style='font-size:9.0pt;font-family:Arial;color:#666666'>Phone: 314.468.3530<br>
<st1:City w:st="on"><st1:place w:st="on">Mobile</st1:place></st1:City>:
636.541.6139<br>
aaron.meadows@thomsonreuters.com<br>
thomsonreuters.com</span></font><font size=1 color="#666666" face=Arial><span
style='font-size:9.0pt;font-family:Arial;color:#666666'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
<br clear=all> This email was sent to you by Thomson Reuters, the global news and information company.<br>
Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
</body>
</html>