[Insight-users] how do i deal with 32 and 64 bit builds

John Drescher drescherjm at gmail.com
Wed Dec 7 08:46:59 EST 2011


> But do i have to make any changes to the cmakelist?
> For example:
>
> for 32bit:
>
> # Find ITK.
>
> FIND_PACKAGE(ITK REQUIRED_WIN32)
>
> INCLUDE(${ITK_USE_FILE})
>
> for 64bit:
>
> # Find ITK.
>
> FIND_PACKAGE(ITK REQUIRED_x64)
>
> INCLUDE(${ITK_USE_FILE})
>

No changes to the CMakeList,txt. Just set the correct generator when
configuring each. On windows there are 32 and 64 bit generators for
Visual Studio.

John


More information about the Insight-users mailing list