[Insight-developers] Experience Adding Local ITK Module
Bill Lorensen
bill.lorensen at gmail.com
Tue Mar 29 10:25:03 EDT 2011
Brad,
A small wiki page documenting this would be great. This might be a good way
to pull in code from the Insight Journal in the future.
Bill
On Tue, Mar 29, 2011 at 9:37 AM, Bradley Lowekamp <blowekamp at mail.nih.gov>wrote:
> Hello,
>
> It was quite easy. After I have set up an external module on github, all I
> had to do is the following to integrate it into an ITK build:
>
> cd ITK
> mkdir Modules/Local
> git clone git at github.com:blowekamp/itkLocalDiscreteHessian.git
> Modules/Local/DiscreteHessian
>
> cd ITKBuild
> ccmake -D Module_ITK-DiscreteHessian:BOOL=ON
>
> Poof! Couldn't be easier! Well, it did take me a little bit to figure out
> the needed CMake option to turn on and where it was. If I were to put one
> feature request in it would be to automatically create a non-andvanced group
> option based on the created directory cmake configurations.
>
> Creating the module was very easy too just copied a few files and defined
> the appropriate variables for the module. Very nice!
>
> The other thing I would like to figure out how to do is build ITK as an
> external project in my projects. I would like to be able to configure the
> modules and also add the needed "Local" or "External" modules from different
> repositories.
>
> This is looking very promising to me.
>
> Brad
>
> ========================================================
>
> Bradley Lowekamp
>
> Lockheed Martin Contractor for
>
> Office of High Performance Computing and Communications
>
> National Library of Medicine
>
> blowekamp at mail.nih.gov
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110329/ef34ffb8/attachment.htm>
More information about the Insight-developers
mailing list