[ITK Community] [Insight-users] ITK External Modules
Luke Bloy
luke.bloy at gmail.com
Tue Jan 7 14:32:16 EST 2014
I figured it would be more complicated then I thought :)
Here is my situation and perhaps someone can suggest a good path forward.
I'm in the process of of reorganizing the code from my graduate thesis on
diffusion imaging for use in my new lab and for my collaborators. This code
is a mix of filters and executables etc. Ideally Id like to develop an ITK
external module for the core filters and libraries and then another package
for the executable code.
I like the idea of an external module to share with the community etc, but
I need be able to build the executables as a stand alone project on
production systems where I may or may not have access to the ITK build
process.
I think the ideal situation would be to develop an external itk module (get
it registered as a remote module), then in the executables project I would
1) include ITK
2) check if ITK was build with my external module (is this possible at the
moment???)
3) if not I would build it myself as an external project ( I assume this is
how ITK handles remote modules)
Does this even seem feasible? I am totally open to other ideas
Thanks
Luke
On Tue, Jan 7, 2014 at 10:43 AM, Xiaoxiao Liu <xiaoxiao.liu at kitware.com>wrote:
> 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://public.kitware.com/pipermail/community/attachments/20140107/01ee24cc/attachment.html>
-------------- next part --------------
_____________________________________
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
More information about the Community
mailing list