[Insight-developers] itkObjectFactoryTest2 and CMake 2.9

Bill Lorensen bill.lorensen at gmail.com
Wed Jan 13 12:03:06 EST 2010


Slicer3 has 2 IO plugins and they both use SHARED.

In ITK, it is only a test. Of course we don't know how many customers
might be using itk's factory mechanism.

Bill

On Wed, Jan 13, 2010 at 11:59 AM, Brad King <brad.king at kitware.com> wrote:
> Bill Lorensen wrote:
>> On Wed, Jan 13, 2010 at 11:48 AM, Brad King <brad.king at kitware.com> wrote:
>>> Yes.  However, the proper way to create loadable modules with CMake is
>>>
>>>  add_library(myplugin MODULE ...)
>>>
>>> but ITK has been using
>>>
>>>  add_library(myplugin SHARED ...)
>>>
>> But, the old way has been working for a long time. Slicer3 uses
>> loadable itk IO factories. That facility is key to support the Slicer3
>> execution model.
>
> Does it use SHARED in practice or is it just the test?
> Do the actual plugins use MODULE?
>
> -Brad
>


More information about the Insight-developers mailing list