Do you have a sample bash script I could look at? I&#39;m not sure what environment variables need to be setup in my Cygwin environment.<div><br></div><div>Thanks!<br clear="all"><div><br></div><div>---------</div>Robert Dailey<br>

<br><br><div class="gmail_quote">On Thu, Nov 10, 2011 at 10:05 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 5:14 PM, Robert Dailey wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think my incorrect subject is symbolic of the fact that I don&#39;t know<br>
what I&#39;m looking for ;)<br>
<br>
So you&#39;re basically saying that from cmake-gui on Windows, point C and<br>
CXX to cl.exe? I did this but got a big fat error message:<br>
<br>
</blockquote></div>
I also said in my previous email that the environment had to be setup correctly.  You have to run cmake-gui in an environment where cl is in the path and all of the other environment variables that VS requires to run from the command line are set.  In addition cygwin needs to be in the PATH with the correct make.exe.<br>

<br>
The way to do that is to:<br>
<br>
1. create the bash script that exports all the env you need for cl to run.<br>
2. source that script.<br>
3. run cmake-gui from that shell.<br>
<br>
The other option is to put all of those variables into the windows OS environment, but I don&#39;t recommend that.<span class="HOEnZb"><font color="#888888"><br>
<br>
-Bill<br>
<br>
</font></span></blockquote></div><br></div>