[Insight-developers] Musings on new modularization

Bill Lorensen bill.lorensen at gmail.com
Mon Mar 14 21:11:37 EDT 2011


Brad and Marcus,

Can you assure us that modular ITK and modular VTK will have a
compatible tree naming convention? Marcus replied recently that VTK
would not be using the VTK/VTK convention.

Bill

On Mon, Mar 14, 2011 at 12:20 PM, Brad King <brad.king at kitware.com> wrote:
> On 03/14/2011 11:46 AM, Jim Miller wrote:
>> ITK/ITK/Core/Common/src/foo.txx
> [snip]
>> ITK/ITK/Core/Common/include/foo.h
>
> For ".h" and ".txx" both should be in include.  Only ".cxx" goes in src.
> This approach makes install rules easy to do automatically.  Everything
> in "include/" is part of the public interface and gets installed.
>
>> Brad, can you comment on this some more? Are you anticipating the custom
>> vendor-specific packages to be parallel to the inner ITK directory (and
>> under the outer ITK directory)?
>>
>> Would this be managed at the repository level where the inner or outer
>> ITK directory would be a submodule? What would be your recommendation as
>> to how to structure a project that provides custom-modules against ITK?
>
> One of the goals of modularization is to make it easy to add custom
> modules to ITK and produce a custom distribution.  With the current
> layout that can be done by just creating a local branch from ITK and
> adding the custom modules in a new directory.  The current modularization
> infrastructure will pick up the new directory automatically with no changes
> to the CMake code.  Then one can update ITK just by merging from upstream.
>
> -Brad
> _______________________________________________
> 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.html
>
> 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