<div dir="ltr">Thanks for your help. <div><div><br></div><div>On Mon, May 19, 2014 at 6:37 AM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span> wrote:<br>
</div><div><div class="im"><div style="font-family:arial,sans-serif;font-size:13.333333015441895px"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>On 05/18/2014 04:47 AM, Greg Jung wrote:<br>> I'm trying to get cmake to build on a MSYS/Mingw system.<br><br></div>We have nightly testing of building CMake itself using both<br>the MSYS Makefiles generator and the MinGW Makefiles generator.<br>
We even test running the "bootstrap" script on MSYS.<br><br>What is not working for you?  Are you launching from the MSYS<br>shell?</blockquote><div><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><br>> As it is, cmake on windows doesn't get the "mounting" of /usr<br><br></div>The MSYS "soft mount" is a feature of the MSYS shell.  It maps<br>such paths in command lines to the corresponding Windows paths.<br>
No other programs are expected to translate such paths. </blockquote></div><div style="color:rgb(34,34,34)">The make program will fork and all of the gnu tools will work on the mounted paths.  I anticipate spending a lot of</div>
<div style="color:rgb(34,34,34)">time in the msys shell running unix compatible command-lets spawning pipes and other shells, etc, in addition to</div><div style="color:rgb(34,34,34)">the ocassional uber-application I start from windows.</div>
</div><div style="color:rgb(34,34,34)"><div class="gmail_extra"><br></div><div class="gmail_extra">(from plplot-5/cmake/modules/findfreetype.cmake):</div><div class="gmail_extra"><div class="gmail_extra">FIND_PATH(FREETYPE_INCLUDE_DIR freetype/config/ftheader.h</div>
<div class="gmail_extra">/usr/local/include/freetype2</div><div class="gmail_extra">/usr/include/freetype2</div><div class="gmail_extra">)  </div><div class="gmail_extra">The default cmake searches for ftheader and for ft2build and provided it finds both, gives a go for the freetype include.</div>
<div class="gmail_extra">By providing the proper paths via platform/mingw.cmake -> MSYSpaths.cmake (adapted from Unixpaths.cmake), </div><div class="gmail_extra"> platform/mingw.cmake is adapted from windows/cmake (with .lib -> .a suffix) and ends with:</div>
<div class="gmail_extra"><div class="gmail_extra"> if(CMAKE_GENERATOR MATCHES "MSYS")</div><div class="gmail_extra">  include(Platform/MSYSPaths)</div><div class="gmail_extra">  else()</div><div class="gmail_extra">
  include(Platform/WindowsPaths)</div><div class="gmail_extra">  endif()</div><div><br></div><div>downstream, however, the (modified cmake) build of cmake-2.8 has difficulty locating its unix-type winsock implementation.</div>
</div></div></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 19, 2014 at 6:37 AM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 05/18/2014 04:47 AM, Greg Jung wrote:<br>
> I'm trying to get cmake to build on a MSYS/Mingw system.<br>
<br>
</div>We have nightly testing of building CMake itself using both<br>
the MSYS Makefiles generator and the MinGW Makefiles generator.<br>
We even test running the "bootstrap" script on MSYS.<br>
<br>
What is not working for you?  Are you launching from the MSYS<br>
shell?<br>
<div class=""><br>
> As it is, cmake on windows doesn't get the "mounting" of /usr<br>
<br>
</div>The MSYS "soft mount" is a feature of the MSYS shell.  It maps<br>
such paths in command lines to the corresponding Windows paths.<br>
No other programs are expected to translate such paths.<br>
<br>
> when I message the path-lists ... the semi-colons have disappeared<br>
<br>
Put the variable reference inside a ""-quoted argument.<br>
<br>
-Brad<br>
<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</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>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/training.html</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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers</a><br>
</blockquote></div><br></div>