Robert,<div><br></div><div>Thanks for your email (and your previous report of the same issue...)</div><div><br></div><div>It was fixed on Sept. 6 with this commit:</div><div><a href="http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=530ade6677ec2c12fe8f3db5f5d71ad0ffaa9e68">http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=530ade6677ec2c12fe8f3db5f5d71ad0ffaa9e68</a></div>
<div><br></div><div>The fix is available for testing in the just now released CMake 2.8.3-rc2 release candidate. (It was also in rc1 3 weeks ago, but try the new one today...)</div><div><br></div><div>Please give it a try and let us know that it fixes the issue for you. Several other VS10 related issues have also been addressed.</div>
<div><br></div><div><br></div><div>Thanks,</div><div>David Cole</div><div><br><br><div class="gmail_quote">On Wed, Oct 6, 2010 at 10:10 AM, Robert Goulet <span dir="ltr">&lt;<a href="mailto:Robert.Goulet@autodesk.com">Robert.Goulet@autodesk.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">









<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal">Hello folks,</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">I would like to submit a patch to the Visual Studio 2010
generator, about the property TargetName. The issue is with target names that
contain more than one dot in it. For example, if your project target name is “hello-10.2.3.dll”
then TargetName get set to “hello-10”. It should have been set to “hello-10.2.3”.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">I propose the following fix:</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">cmVisualStudio10TargetGenerator.cxx : around line 841</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">    
...</span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">    
this-&gt;WritePlatformConfigTag(&quot;IntDir&quot;, config-&gt;c_str(), 3); </span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">    
*this-&gt;BuildFileStream &lt;&lt; intermediateDir</span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">                           
&lt;&lt; &quot;&lt;/IntDir&gt;\n&quot;;</span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">    
this-&gt;WritePlatformConfigTag(&quot;TargetName&quot;, config-&gt;c_str(), 3);</span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">+   
*this-&gt;BuildFileStream &lt;&lt; cmSystemTools::GetFilenameWithoutLastExtension(</span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">      
targetNameFull.c_str())</span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">                           
&lt;&lt; &quot;&lt;/TargetName&gt;\n&quot;;</span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">    
...</span></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Very quick fix, I simply changed GetFilenameWithoutExtension()
for GetFilenameWithoutLastExtension().</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Thank you!</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><b><span> </span></b></p>

<p class="MsoNormal"><b><span> </span></b></p>

<p class="MsoNormal" style="margin-left:1.45pt"><b><span style="color:black">Robert Goulet</span></b></p>

<p class="MsoNormal" style="margin-left:1.45pt"><span style="font-size:8.0pt;color:#838383">Software Development Manager</span></p>

<p class="MsoNormal" style="margin-left:1.45pt"><span style="font-size:8.0pt;color:#838383">Autodesk Media &amp;
Entertainment</span></p>

<p class="MsoNormal" style="margin-left:1.45pt"><span style="font-size:8.0pt;color:#838383"> </span></p>

<p class="MsoNormal" style="margin-left:1.45pt"><span style="font-size:8.0pt;color:#838383">Autodesk, Inc.</span></p>

<p class="MsoNormal" style="margin-left:1.45pt"><span style="font-size:8.0pt;color:#838383">10 Duke</span></p>

<p class="MsoNormal" style="margin-left:1.45pt"><span style="font-size:8.0pt;color:#838383">Montreal, QC H3C 2L7</span></p>

<p class="MsoNormal" style="margin-left:1.45pt"><span style="font-size:8.0pt;color:#838383"> </span></p>

<p class="MsoNormal" style="margin-left:1.45pt"><span style="font-size:8.0pt;color:#838383">Direct 514 954-3911</span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;color:#838383"> </span></p>

<p class="MsoNormal"><img width="264" height="31" alt="Adsk_logo_4_sig_v03_crop.gif"></p>

<p class="MsoNormal"> </p>

</div>

</div>


<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br></div>