Re: [CMake] How to set up Cygwin + CMake + GNU Makefiles + cl.exe correctly?

2008-06-09 Thread Bill Hoffman
John Doe wrote: I was able to setup the compiler using a file similar to Bill's. Unfortunately it appears that cygwin cmake is passing the unix paths to cl.exe on my Windows Vista 64 system. What command line options for cmake will allow the compiler tests to pass. I tried -DWIN32=1 and -DCMAKE

Re: [CMake] How to set up Cygwin + CMake + GNU Makefiles + cl.exe correctly?

2008-06-09 Thread John Doe
I was able to setup the compiler using a file similar to Bill's. Unfortunately it appears that cygwin cmake is passing the unix paths to cl.exe on my Windows Vista 64 system. What command line options for cmake will allow the compiler tests to pass. I tried -DWIN32=1 and -DCMAKE_CL_64=1, but neit

Re: [CMake] How to set up Cygwin + CMake + GNU Makefiles + cl.exe correctly?

2008-05-30 Thread Maik Beckmann
Am Freitag 30 Mai 2008 20:36:02 schrieb Bill Hoffman: > Stefan Buschmann wrote: > > Thanks! I finally got it to work now. The problem was that invoking the > > script does not really "export" the variables to the shell - so in my > > own tests, "cmake" had it's environment variables set right, beca

Re: [CMake] How to set up Cygwin + CMake + GNU Makefiles + cl.exe correctly?

2008-05-30 Thread Bill Hoffman
Stefan Buschmann wrote: Thanks! I finally got it to work now. The problem was that invoking the script does not really "export" the variables to the shell - so in my own tests, "cmake" had it's environment variables set right, because I invoked it directly from the script, but when running "mak

Re: [CMake] How to set up Cygwin + CMake + GNU Makefiles + cl.exe correctly?

2008-05-30 Thread Stefan Buschmann
Thanks! I finally got it to work now. The problem was that invoking the script does not really "export" the variables to the shell - so in my own tests, "cmake" had it's environment variables set right, because I invoked it directly from the script, but when running "make" later, the variables

Re: [CMake] How to set up Cygwin + CMake + GNU Makefiles + cl.exe correctly?

2008-05-30 Thread Bill Hoffman
Stefan Buschmann wrote: Hi all! I'm trying to build my project on Windows using "GNU Makefiles" and cl.exe under Cygwin. I'm using CMake-2.6-patch 0 and Microsoft Visual Studio 2008 Professional. Here is my setup: export CC=cl export CXX=cl export INCLUDE="C:\Program Files\Microsoft Visual

[CMake] How to set up Cygwin + CMake + GNU Makefiles + cl.exe correctly?

2008-05-30 Thread Stefan Buschmann
Hi all! I'm trying to build my project on Windows using "GNU Makefiles" and cl.exe under Cygwin. I'm using CMake-2.6-patch 0 and Microsoft Visual Studio 2008 Professional. I know this issue has come up every now and then, and it seems that it should not be too hard to set this up. However, aft