[Insight-developers] PROPOSAL: Flattening headers directory structure at Install time
Luis Ibanez
luis.ibanez at kitware.com
Thu Apr 17 14:13:07 EDT 2008
Hi Mathieu,
The case of files in the review directory is a bit different.
These are files intended to replace the current versions in
Code/Common.
but,... the point is well taken...that this case will have to
be addressed if we intent to flatten the directory structure.
Just for the record, please note that VTK installs all its headers
in a single directory, despite the fact that the source tree is
organized in subdirectories. Only the headers from Utilities
are installed in subdirectories of the VTK installed "include"
directory.
Luis
------------------------
Mathieu Malaterre wrote:
> 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,
More information about the Insight-developers
mailing list