[CMake] Running CMake on windows VM

David Cole david.cole at kitware.com
Tue Jan 8 15:01:44 EST 2008


Build the INSTALL target. Right click it and choose "Project Only > Build
Only INSTALL"

I would install NSIS and build the PACKAGE target to create my own
installer. Then the installer can be used on any Windows machine to set it
up.


On 1/8/08, Jesse Corrington <jesse.corrington at gmail.com> wrote:
>
> When I set the Install target as the startup project and run from inside
> visual studio I just get the dialog asking me to specify an executable for
> the debugging session.
>
> On Jan 8, 2008 11:20 AM, Bill Hoffman < bill.hoffman at kitware.com> wrote:
>
> > Jesse Corrington wrote:
> > > Yes, the binary from kitware does work, but I have added to cmake, so
> > I
> > > need to use my own binary. Using my binary with the dll's that the
> > > kitware one installed still didn't work. I'm not sure how to do a make
> >
> > > install. To build I generated the VS2005 project files and built the
> > > exes, but this doesn't generate any installer. Thanks
> > >
> >
> > Run the INSTALL target from visual studio.  You may want to change
> > CMAKE_INSTALL_PREFIX before, as it will default install into program
> > files. Then copy the install tree and use that.  Use cpack to create an
> > installer.  Build the PACKAGE target or do this:
> >
> > cd binary-tree
> > cpack
> >
> > -Bill
> >
> >
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080108/0c2274bf/attachment-0001.html


More information about the CMake mailing list