Thanks for the info guys but none of this really helps me out, especially the links to the CDash stuff. I don&#39;t even really know what I&#39;m looking for.<div><br></div><div>What generator do I need to use when I run cmake in cygwin? Isn&#39;t that all I need? Won&#39;t CMake automatically pick up the MSVC compiler, even if it is inside Cygwin? I have MSVC 7.1, 8, and 9 on my system. The other thing I&#39;m not sure of is how to tell CMake in Cygwin which MSVC compiler to use. If I need to setup environment variables, how do I know which ones CMake will be looking for and what the values should be?</div>
<div><div><br></div><div>---------</div>Robert Dailey<br>
<br><br><div class="gmail_quote">On Thu, Nov 10, 2011 at 3:26 PM, Bill Hoffman <span dir="ltr">&lt;<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 11/10/2011 3:12 PM, David Cole wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This dashboard build of CMake is run from a cygwin bash script using<br>
gmake and the VS 2008 compiler:<br>
<br>
   <a href="http://cdash.org/CDash/buildSummary.php?buildid=1711851" target="_blank">http://cdash.org/CDash/<u></u>buildSummary.php?buildid=<u></u>1711851</a><br>
<br>
See the script that drives it here:<br>
<br>
   <a href="http://cdash.org/CDash/viewNotes.php?buildid=1711851" target="_blank">http://cdash.org/CDash/<u></u>viewNotes.php?buildid=1711851</a><br>
<br>
Perhaps there&#39;s a clue in there that will be useful/helpful. (There is<br>
also environment setup on that machine, though, too probably. Like all<br>
the stuff that vcvars.bat would set in a regular Windows cmd prompt.)<br>
<br>
</blockquote>
<br></div>
You will also need to use this gmake:<br>
<br>
<br>
<a href="http://www.cmake.org/files/cygwin/make.exe-cygwin1.7" target="_blank">http://www.cmake.org/files/<u></u>cygwin/make.exe-cygwin1.7</a><br>
<br>
<br>
At some point support for paths with drive letters was removed from the gmake that came with cygwin, so the makefiles do not work  with stuff like this: c:/path.  The VS compiler needs that to work.  There was a patch in the upstream gmake and the above make has that patch.  I have not tried recently to see if cygwin updated make to work again. However, I use Unix Makefiles with VS and gmake all the time, but I use the above gmake.<br>

<br>
To create the environment I started a vsvars.bat type shell, and dumped the environment.  I then convert that dump to a bash script.<br>
<br>
<br>
Something like this:<br>
<br>
export INCLUDE=&#39;c:\Program Files ...<br>
export LIB=&#39;c:\Program Files (x86)\Microsoft  ...<br>
export LIBPATH=&#39;c:\Windows\Microsoft.<u></u>NET\Framework ...<br>
export PATH=&#39;/cygdrive/c/Program Files (x86)/Microsoft Visual Studio ...<br>
export DevEnvDir=&#39;c:\Program Files ...<br>
export VSINSTALLDIR=&#39;c:\Program Files (x86)\Microsoft Visual Studio 9.0&#39;<br>
export WindowsSdkDir=&#39;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\&#39;<br>
export VCINSTALLDIR=&#39;c:\Program Files ...<br>
export Framework35Version=v3.5<br>
export FrameworkDir=&#39;c:\Windows\<u></u>Microsoft.NET\Framework&#39;<br>
export FrameworkVersion=v2.0.50727<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-Bill</font></span><div class="HOEnZb"><div class="h5"><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/<u></u>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/<u></u>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/<u></u>listinfo/cmake</a><br>
</div></div></blockquote></div><br></div>