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