[Insight-users] Windows Cmake Script

Neil Panjwani paniwani at gmail.com
Mon Jun 6 09:52:32 EDT 2011


That works great for building ITK, but for specific projects I need to set
the specific ITK_DIR because I have several flavors of ITK. How do I specify
that directory as a parameter to cmake via command line?

On Sun, Jun 5, 2011 at 7:28 PM, Luis Ibanez <luis.ibanez at kitware.com> wrote:

> Hi Neil,
>
> from the command line,
> go to the binary directory
> where you want to build ITK
>
> and type
>
>   cmake   -G"Visual Studio 9 2008 Win64"
>      path_to_itk_source_tree
>
>
> ---
>
> There are other options, but this is probably
> the simplest one.
>
>
>    Luis
>
>
> ------------------------------------------------
> On Mon, May 30, 2011 at 11:25 PM, Neil Panjwani <paniwani at gmail.com>
> wrote:
> > Does someone have a script (batch, python, etc) to run Cmake via the
> command
> > line in Windows to build ITK projects?
> > The only settings I need to change are source and bin directories,
> ITK_DIR,
> > and the compiler (32 vs 64-bit). Thanks.
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.html
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110606/9945d24f/attachment.htm>


More information about the Insight-users mailing list