Michael Hufer wrote:
> We use cygwin, but that should be mostly the same:
> -- cmd.exe (or in our case cygwin bash)
> $ set CC=cl.exe
> $ set CXX=cl.exe
> $ cmakesetup
> in cmake setup: select build mode Unix Makefiles
> and build mode (Debug or Release)
> configure and create makefile(s)
> $ cd build/dir
> $ gmake install
> PS: For some reason a multible thread build (e.g. "gmake -j2 install")
> not work properly on Windows. It seems either gmake or the Visual Studio
> 2003 compiler or linker is producing rubish if more than one is invoked
> simultanously ;-(.
This works with VS 2005, or if you change the debug mode in VS 2003 to
not use pdb files.
This is what I use most of the time.
Also Cygwin broke make to not work with windows paths which cl uses:
There is a fixed make here: