<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Matt,<div><br></div><div>It would be interesting to know how many of the people who reported that VS10 hung for them had python installed. It would not surprise me if ~50% of developers have python installed. Clearly, none of the main ITK developers prefer VS. So it's not clear to me how this will really hurt development. Right now we have to choose between running the Examples or running the Tests on the dashboard. I think the HeaderTests are less important than either of those.</div><div><br></div><div>Perhaps we could at least consolidate all the Header tests for each module into a single one, with multiple cxx files into one executable.</div><div><br></div><div><div>$ make help |grep HeaderTest[23456789] | wc -l</div><div>&nbsp; &nbsp; &nbsp; 23</div></div><div><br></div><div>I commented out the 344 targets, mentioned below, and my vs10 appears to be happily compiling away now.</div><div><br></div><div>Brad</div><div><br></div><div><br></div><div><br><div><div>On Apr 2, 2012, at 9:13 AM, Matthew McCormick (thewtex) wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Brad,<br><br>Consolidating the HeaderTestClean target would be nice, but turning<br>off the header test generation by default will not help most VS2010<br>users and will hurt development. &nbsp;The generation of the header tests<br>require Python, which Windows does not come with by default, i.e.<br>Windows does not usually have header test targets.<br><br>Matt<br><br>On Mon, Apr 2, 2012 at 8:49 AM, Bradley Lowekamp &lt;<a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a>&gt; wrote:<br><blockquote type="cite">Currently VS 2010 appears to be having trouble with the number of targets<br></blockquote><blockquote type="cite">that we have. I was looking over them and I was trying to figure out which<br></blockquote><blockquote type="cite">ones are really required, and my be sacrificed before requiring testing to<br></blockquote><blockquote type="cite">examples to be turned off.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Here is some searching:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">$ make help | wc -l<br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp;868<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">$make help |grep <a href="smb://-all">\\-all</a> | wc -l<br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp;120<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">$make help |grep HeaderTest | wc -l<br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp;224<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">$ make help |grep HeaderTestClean | wc -l<br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp;100<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">So there are ~868 targets. Then 120 have the form ITKModuleName-all. Then<br></blockquote><blockquote type="cite">there are the HeaderTest, which each individual module also contains a clean<br></blockquote><blockquote type="cite">target. I so no reason my all the Clean targets could not be consolidated<br></blockquote><blockquote type="cite">into one.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I believe that these 344 targets, between the HeaderTest and "-all" targets<br></blockquote><blockquote type="cite">should be automatically sacrificed before requiring testing or examples to<br></blockquote><blockquote type="cite">be turned off. While I still need to do the actual experiment to verify that<br></blockquote><blockquote type="cite">disabling these tests enable VS2010 to work with examples and tests, I am<br></blockquote><blockquote type="cite">very optimistic.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Anyone else have suggestions on reducing the number of targets or the<br></blockquote><blockquote type="cite">importance of these targets?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Brad<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">========================================================<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Bradley Lowekamp<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Medical Science and Computing for<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Office of High Performance Computing and Communications<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">National Library of Medicine<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Powered by <a href="http://www.kitware.com">www.kitware.com</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Visit other Kitware open-source projects at<br></blockquote><blockquote type="cite"><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Kitware offers ITK Training Courses, for more information visit:<br></blockquote><blockquote type="cite"><a href="http://kitware.com/products/protraining.php">http://kitware.com/products/protraining.php</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Please keep messages on-topic and check the ITK FAQ at:<br></blockquote><blockquote type="cite"><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Follow this link to subscribe/unsubscribe:<br></blockquote><blockquote type="cite"><a href="http://www.itk.org/mailman/listinfo/insight-developers">http://www.itk.org/mailman/listinfo/insight-developers</a><br></blockquote><blockquote type="cite"><br></blockquote></div></blockquote></div><br><div>
<span class="Apple-style-span" style="font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">========================================================</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Bradley Lowekamp<span class="Apple-converted-space">&nbsp;</span><span class="Apple-converted-space">&nbsp;</span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Medical Science and Computing for</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Office of High Performance Computing and Communications</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">National Library of Medicine<span class="Apple-converted-space">&nbsp;</span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; "><a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a></font></p><br class="Apple-interchange-newline"></span></div></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>