[Insight-developers] Reducing the number of targets

Matthew McCormick (thewtex) matt at mmmccormick.com
Mon Apr 2 09:13:43 EDT 2012


Hi Brad,

Consolidating the HeaderTestClean target would be nice, but turning
off the header test generation by default will not help most VS2010
users and will hurt development.  The generation of the header tests
require Python, which Windows does not come with by default, i.e.
Windows does not usually have header test targets.

Matt

On Mon, Apr 2, 2012 at 8:49 AM, Bradley Lowekamp <blowekamp at mail.nih.gov> wrote:
> Currently VS 2010 appears to be having trouble with the number of targets
> that we have. I was looking over them and I was trying to figure out which
> ones are really required, and my be sacrificed before requiring testing to
> examples to be turned off.
>
> Here is some searching:
>
> $ make help | wc -l
>      868
>
> $make help |grep \\-all | wc -l
>      120
>
> $make help |grep HeaderTest | wc -l
>      224
>
> $ make help |grep HeaderTestClean | wc -l
>      100
>
>
>
> So there are ~868 targets. Then 120 have the form ITKModuleName-all. Then
> there are the HeaderTest, which each individual module also contains a clean
> target. I so no reason my all the Clean targets could not be consolidated
> into one.
>
> I believe that these 344 targets, between the HeaderTest and "-all" targets
> should be automatically sacrificed before requiring testing or examples to
> be turned off. While I still need to do the actual experiment to verify that
> disabling these tests enable VS2010 to work with examples and tests, I am
> very optimistic.
>
> Anyone else have suggestions on reducing the number of targets or the
> importance of these targets?
>
> Brad
>
> ========================================================
>
> Bradley Lowekamp
>
> Medical Science and Computing for
>
> Office of High Performance Computing and Communications
>
> National Library of Medicine
>
> blowekamp at mail.nih.gov
>
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>


More information about the Insight-developers mailing list