[CMake] Cygwin cmake generating MSVC projects

Werner Smekal smekal at iap.tuwien.ac.at
Thu Jan 10 03:38:35 EST 2008


Hi,

it is possible to use the Microsoft tool chain with cygwin make files  
with the wgcc cross compiler tool.

http://interix-wgcc.sourceforge.net/index.html

Quote: Even though wgcc was written for Interix only, it can be used  
on native Windows (without Interix), and other Systems, like Cygwin.  
The only restriction is that on Platforms other than Interix, only  
Windows style paths are understood. With the release of version 2.0.1  
this changed. Now Cygwin too is able to convert paths correctly. On  
Interix (and now Cygwin) wgcc automatically converts UNIX style paths  
to Windows style ones (i.e. /wgcc to C:\SFU\wgcc).

Don't know how cmake finds out how to use wgcc, but maybe with symlinks?

Regards,
Werner


On 08.01.2008, at 22:23, Bill Hoffman wrote:

> Rodolfo Lima wrote:
>> Is there a reason why a cygwin-generated cmake cannot generate MSVC  
>> or NMake projects?
>
> Yes, cygwin paths would be incomprehensible to MS tools.
>
> -Bill
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake

--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: smekal at iap.tuwien.ac.at
web: http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory)
fax: +43-(0)1-58801-13499



More information about the CMake mailing list