[Insight-users] [CMake] INSTALL(EXPORT)

Rupert Brooks rupe.brooks at gmail.com
Wed Sep 24 09:33:02 EDT 2008


Brad is absolutely right - I think this is not quite ready for "prime
time" yet.  Thats why i didnt check it in :-)

On the other hand, for my current situation, this is very useful -
nearly essential, so thats why i shared it.

If I follow you correctly, Luis, theres only one current test that
actually runs against an installed ITK tree.  Checking this in would
break every test running against a build tree.   Not only does this
approach require an install tree, it unfortunately destroys the
ability to link against the build tree.  I spent some effort trying to
figure out how to get around this, and i didn't find a good way.

One of these days i will start submitting an test build, in any case.
Just need a few more hours in the day.

Rupert

On Wed, Sep 24, 2008 at 8:51 AM, Brad King <brad.king at kitware.com> wrote:
> Luis Ibanez wrote:
>> If you have got this to work in your local build, please feel free
>> to commit the changes to ITK. In that way we can test them early
>> enough before the release of ITK 3.10.
> [snip]
>>> Brad for pointing me to this).  I'm using CMake 2.6.1 - I THINK its
>>> supported in 2.4, but again, i didnt try.  Might be worth upgrading if
>>> your going to try it.
> [snip]
>>>     INSTALL(TARGETS ITKAlgorithms EXPORT Libraries
>
> Please do not commit.  This will break with CMake 2.4, and we do not yet
> require 2.6 for ITK.  There are several things that need to be done to
> make this a first class feature, and I'm planning to do them when we
> decide to require CMake 2.6.
>
> -Brad
>



-- 
--------------------------------------------------------------
Rupert Brooks


More information about the Insight-users mailing list