[Insight-users] Fwd: Deployment of ITK with CMakeSetup (issue with include directories)

John Drescher drescherjm at gmail.com
Mon Oct 19 13:15:15 EDT 2009


On Mon, Oct 19, 2009 at 1:06 PM, Mark Roden <mmroden at gmail.com> wrote:
> Hi Peter,
>
> That's part of the CMake paradigm, that there's one directory for the
> source and another for the automatically generated platform specific
> files.  To get those libraries compiled for your platform, you have to
> still have the original directory, because that's where the source
> actually resides.
>

I think you can run the INSTALL target on itk and install it into your
system and use that. On windows it installs this by default to a
folder under Program Files. However this is a disadvantage (at least
with visual stuido) because all the .libs are named the same (for
debug, release ...) so you can not install both debug and release
builds at the same time. With ITK_DIR pointing to your binary build
folder you can have both debug and release builds of itk and your
project will use the correct one.

John


More information about the Insight-users mailing list