Hi Paul, Set option CMAKE_INSTALL_PREFIX to a location of your choice
Then, build INSTALL target Hth Jc On Fri, Apr 12, 2013 at 4:46 PM, Paul Smith <p...@mad-scientist.net> wrote: > Hi all; I need to rebuild cmake to incorporate a fix that has been added > since the last release (I could get a nightly build but I was hoping to > use released cmake with just the fix I need to reduce risk) and which is > causing my builds to fail sometimes. For Linux and MacOS this was quite > simple using bootstrap. > > For Windows I have an older version of cmake installed, which is fine, > and I'm able to build the version I want with this (VS 2010 installed): > > git clone git:.../cmake.git > cd cmake > git cherry-pick <commit> > cmake . > devenv CMake.sln /Rebuild Release > > So far so good. I see cmake.exe etc. and it works if I run it. But now > I want to "install" this newly-built cmake into a specific location, and > I don't know how to do it (I could copy it by hand of course but that > seems sub-optimal). I really would like to do it via the command line. > > What's the operation I should use to do the installation of cmake? > Also, for Linux/MacOS I run bootstrap.sh with the --prefix flag to > specify where to install. How can I do this kind of thing for the > Windows build? > > > > Thanks! > > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > -- +1 919 869 8849
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake