Do you have a sample bash script I could look at? I'm not sure what
environment variables need to be setup in my Cygwin environment.

Thanks!

---------
Robert Dailey


On Thu, Nov 10, 2011 at 10:05 PM, Bill Hoffman <bill.hoff...@kitware.com>wrote:

> On 11/10/2011 5:14 PM, Robert Dailey wrote:
>
>  I think my incorrect subject is symbolic of the fact that I don't know
>> what I'm looking for ;)
>>
>> So you're basically saying that from cmake-gui on Windows, point C and
>> CXX to cl.exe? I did this but got a big fat error message:
>>
>>  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.
>
> The way to do that is to:
>
> 1. create the bash script that exports all the env you need for cl to run.
> 2. source that script.
> 3. run cmake-gui from that shell.
>
> The other option is to put all of those variables into the windows OS
> environment, but I don't recommend that.
>
> -Bill
>
>
--

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

Reply via email to