[CMake] Rebuilding cmake itself on Windows

Paul Smith paul at mad-scientist.net
Fri Apr 12 17:58:08 EDT 2013


On Fri, 2013-04-12 at 17:04 -0400, Jean-Christophe Fillion-Robin wrote:
> Hi Paul, 

> Set option CMAKE_INSTALL_PREFIX to a location of your choice

> Then, build INSTALL target

Hi; thanks a lot for your answer!  I was able to set
CMAKE_INSTALL_PREFIX; thanks for that.

Can you give a specific example of how to "build INSTALL target"?  I
can't figure out how that should work.  For example I tried:

  devenv CMake.sln /Build INSTALL

but that didn't work; I got this error:

  Invalid solution configuration

I've tried lots of other options, like "/Deploy INSTALL", just "INSTALL"
by itself, etc. and they all fail with various errors.

I'm afraid I'm not very knowledgeable about Windows :-(.



More information about the CMake mailing list