[Insight-developers] PROPOSAL: Flattening headers directorystructure at Install time

J.S.Wijnhout at lumc.nl J.S.Wijnhout at lumc.nl
Fri Apr 18 02:26:29 EDT 2008


Hi,

Just of thought. You could also change the ITK code to use subdirectories in the #include directives:
#include "Common/..." etc. This way, users will only have to add the main ITK folder to their includes and the old-style of including (without specifying the subfolder) will still continue to work if you decide to include all the ITK subfolders into your include path.

best,
Jeroen


-----Original Message-----
From: insight-developers-bounces at itk.org on behalf of Bill Lorensen
Sent: Fri 18/04/2008 05:17
To: Steve M. Robbins
Cc: Insight Developers List
Subject: Re: [Insight-developers] PROPOSAL: Flattening headers directorystructure at Install time
 
My main concern is the installed base of customers. We can't afford to
break their applications when they upgrade to a new release.

Let's think hard about a way that will improve things for the future
but maintain backward compatibility. This organizational issue is not
the fault of the customers. If there is any pain, it is pain the
development team should bear.

 Bill

On Thu, Apr 17, 2008 at 3:16 PM, Steve M. Robbins <steve at sumost.ca> wrote:
> On Thu, Apr 17, 2008 at 11:30:49AM -0400, Luis Ibanez wrote:
>
> > The consequence is that projects that use ITK must
> > have all these directories in their include paths.
> > This results in something like 10 different directories
> > being added to the include paths.
>
> I like the idea of requiring only a single directory on the compiler
> include path.
>
>
> [ ... ]
>
> > This is a significant improvement for projects
> > that not only used ITK but also link to other
> > three or four libraries (e.g. VTK, QT, ...)
> > and may reach limits of command line lengths.
>
> It's also a win for projects that don't use CMake, for whatever
> reason.  Adding a single -I is less error-prone than adding 10.
>
> -Steve
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIB6Hy0i2bPSHbMcURAqImAKCgm+eQWVQdK1tvjmGlCbU4aXg5FQCgkBsy
> ggB4aGgktBciIfpku/to/7c=
> =PKoW
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>
>
_______________________________________________
Insight-developers mailing list
Insight-developers at itk.org
http://www.itk.org/mailman/listinfo/insight-developers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20080418/c660fd0b/attachment.htm>


More information about the Insight-developers mailing list