[Insight-developers] ITKVideo as a module
Brad King
brad.king at kitware.com
Tue Mar 15 12:06:35 EDT 2011
On 03/15/2011 11:59 AM, Gabe Hart wrote:
> 0) Is there documentation somewhere that will preempt my other questions?
We're still getting everything working in modularized form. Documentation
of how to add a module will be added later.
> 1) What sort of structure should a module like this aim for? Since this
> is an A2D2, my thought is that it should live alongside the inner ITK
> directory (or whatever it will be renamed to) rather than inside it.
Is this going to be distributed in ITK proper in the future?
> 2) How/Where should external dependencies be added? It looks like the
> CMake structure consists of finding all itk-module.cmake files that live
> at SOURCE/*/*/*/ (3 levels deep). My inclination would be to put things
> like find_packate(OpenCV) here. Is that right?
If it is a truly outside dependency that must be installed to be used then
just put find_package(OpenCV) right in the main CMakeLists.txt file of
your module to locate it on the system when it is needed. I'd rather not
bring a fork of OpenCV in as a module.
-Brad
More information about the Insight-developers
mailing list