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

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu Apr 17 11:45:04 EDT 2008


On Thu, Apr 17, 2008 at 5:30 PM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>
>  We have found a couple of issues with the method
>  that we currently use for installing the ITK headers.
>
>  The current method preserves the tree structure of
>  the source three, namely:
>
>
>             Common
>             BasicFilters
>             Algorithms
>             etc....
>
>
>  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.
>
>  Since there are no name conflicts in the header files,
>  we could copy all of them in a single directory.

That's incorrect, at least not for the 'Review' directory.

$ find .  | grep -i itktimeprobescollectorbase
./Review/itkTimeProbesCollectorBase.h
./Common/itkTimeProbesCollectorBase.h
./Common/itkTimeProbesCollectorBase.cxx


$ find .  | grep -i itktimeprobe
./Review/itkTimeProbesCollectorBase.h
./Review/itkTimeProbe.h
./Review/itkTimeProbe.cxx
./Common/itkTimeProbesCollectorBase.h
./Common/itkTimeProbesCollectorBase.cxx
./Common/itkTimeProbe.h
./Common/itkTimeProbe.cxx

2 cents,
-- 
Mathieu


More information about the Insight-developers mailing list