On Wed, Jan 4, 2012 at 2:30 PM, Michael Guerrero <span dir="ltr"><<a href="mailto:insominx@yahoo.com">insominx@yahoo.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="color:#000;background-color:#fff;font-family:times new roman,new york,times,serif;font-size:12pt"><div><div class="MsoNormal"><div class="MsoNormal"><font face="'times new roman', 'new york', times, serif">Hi, I’ve been experimenting with using Visual Studio’s “Custom Build Tool” per cpp file to perform some specialized operations. However, the property page is not visible (not editable) when I generate a project with cmake. To see what this looks like, see here: <a href="http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/496e301c-de2e-49bf-bbfa-ea8de335a0a5" target="_blank">http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/496e301c-de2e-49bf-bbfa-ea8de335a0a5</a> .</font></div>
<div class="MsoNormal"><font face="'times new roman', 'new york', times, serif"><br></font></div><div class="MsoNormal"><font face="'times new roman', 'new york', times, serif">To reproduce:</font></div>
<div class="MsoNormal"><font face="'times new roman', 'new york', times, serif">1)<span style="white-space:pre-wrap">
        </span>Generate a c++ project for visual studio (I’m using vs2010)</font></div><div class="MsoNormal"><font face="'times new roman', 'new york', times, serif">2)<span style="white-space:pre-wrap">        </span>Right click a .cpp file in the solution and go to properties</font></div>
<div class="MsoNormal"><font face="'times new roman', 'new york', times, serif">3)<span style="white-space:pre-wrap">        </span>Under Configuration Properties/General, change “Item Type” to “Custom Build Tool”</font></div>
<div class="MsoNormal"><font face="'times new roman', 'new york', times, serif">4)<span style="white-space:pre-wrap">        </span>Click Apply</font></div><div class="MsoNormal"><font face="'times new roman', 'new york', times, serif">5)<span style="white-space:pre-wrap">        </span>Select Configuration Properties / Custom Build Tool / General</font></div>
<div class="MsoNormal"><font face="'times
new roman', 'new york', times, serif"><br></font></div><div class="MsoNormal"><font face="'times new roman', 'new york', times, serif">I’ve attempted to hand edit the solution and project files to determine what is causing this but nothing I removed seemed to have any affect.</font></div>
<div class="MsoNormal"><font face="'times new roman', 'new york', times, serif"><br></font></div><div class="MsoNormal"><font face="'times new roman', 'new york', times, serif">Any ideas on how to fix this or where to look?</font></div>
<span class="HOEnZb"><font color="#888888"><div class="MsoNormal"><font face="'times new roman', 'new york', times, serif"><br></font></div><div class="MsoNormal"><font face="'times new roman', 'new york', times, serif">Michael Guerrero</font></div>
<div class="MsoNormal"><font face="'times new roman', 'new york', times, serif">Programmer at Delta3D</font></div><div class="MsoNormal"><font face="'times new roman', 'new york', times, serif">Research Associate, MOVES Institute,
Naval Postgraduate School</font></div><div class="MsoNormal"><font face="'times new roman', 'new york', times, serif">Monterey, CA</font></div><div class="MsoNormal" style="font-family:'times new roman','new york',times,serif;font-size:12pt">
<br></div></font></span></div></div></div></div><br>--<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>I've seen this with other property pages. One of my coworkers explained that it might be the XML CMake generates for the proj files is a little bit "off" and VS fails to understand it properly.<br>
<br>James<br>