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

Luis Ibanez luis.ibanez at kitware.com
Sat Apr 19 10:39:44 EDT 2008


Hi Bill,


We could make it a CMake option.
Something like:


          ITK_INSTALL_HEADERS_IN_SINGLE_DIRECTORY

and set the default behavior to be the previous behavior.



In this way, users could install ITK headers in a single
directory upon request.

We could also introduce the concept of ITK_BACKWARD_COMPATIBILITY
just as CMake does.

These changes could be disabled is a user selects
ITK_BACKWARD_COMPATIBILITY to "3.4"



    Luis


---------------------------
Bill Lorensen wrote:
> 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
> 


More information about the Insight-developers mailing list