[Insight-users] [ITK Community] ITK External Modules

Xiaoxiao Liu xiaoxiao.liu at kitware.com
Tue Jan 7 10:43:51 EST 2014


An ITK module follows a set of unified CMake APIs and  some default source
code organization ( src, test, include folder ).  Each module uses the
modular CMake macros defined in" CMake/ITKModuleMacros.cmake", e.g.
 itk_module() in the itk-module.cmake  sets up the module's name and its
dependencies on other modules.

Before compiling each module, a global dependency DAG is sorted out based
on the module dependencies specified in those itk-module.cmake files to
decide the order of build.

The top level CMake code looks for itk-module.cmake files inside the source
tree of ITK  at  the CMake configuration time. If you have a module outside
the source tree, it won't find it.

I hope this helps.
Thanks.



On Tue, Jan 7, 2014 at 10:00 AM, Luke Bloy <luke.bloy at gmail.com> wrote:

> Am I wrong in thinking that this would only require access to some of the
> cmake functions that ITK supplies in the CMake directory?
>
>
> On Mon, Jan 6, 2014 at 2:06 PM, Matt McCormick <matt.mccormick at kitware.com
> > wrote:
>
>> Hi Luke,
>>
>> Not at this time, but this would be a great feature to have.
>>
>> Thanks,
>> Matt
>>
>> On Mon, Jan 6, 2014 at 1:38 PM, Luke Bloy <luke.bloy at gmail.com> wrote:
>> > Hi All,
>> >
>> > Is it possible to build external modules outside of the ITK source tree?
>> >
>> > Thanks,
>> > Luke
>> >
>> > _____________________________________
>> > 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://www.kitware.com/products/protraining.php
>> >
>> > 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-users
>> >
>>
>
>
> _____________________________________
> 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://www.kitware.com/products/protraining.php
>
> 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-users
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>
>


-- 


---------------------------------------------
*Xiaoxiao Liu*, Ph.D.
R & D Engineer
Kitware Inc <http://www.kitware.com/>.
Clifton Park, NY
Phone: (518) 881-4924  or  (518) 371-3971 x124
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140107/f53c6bc0/attachment.htm>


More information about the Insight-users mailing list