Re: [CMake] Using gcc as an alternative compiler on windows

2010-01-20 Thread John Drescher
>> To add an additional option I have successfully used QtCreator (which >> builds using MinGW) on windows with cmake. It supports CMakeLists.txt >> files directly. I would call it work in progress as far as the CMake >> support. > > What's not working ? > (it works off the same CodeBlocks files) >

Re: [CMake] Using gcc as an alternative compiler on windows

2010-01-20 Thread Alexander Neundorf
On Wednesday 20 January 2010, John Drescher wrote: > > 2010/1/20 Mike Jackson : > >> You need to have a valid/correct installation of MinGW or MSYS+MinGW or > >> Cygwin. > > > > As a complement to Mike advice you may have a look at > > Code::Blocks (aka C::B) too, it's a cross-platform IDE working

Re: [CMake] Using gcc as an alternative compiler on windows

2010-01-20 Thread Chauhan, Vikas
t; Cc: cmake@cmake.org > Subject: Re: [CMake] Using gcc as an alternative compiler on windows > > > 2010/1/20 Mike Jackson : > >> You need to have a valid/correct installation of MinGW or MSYS+MinGW or > Cygwin. > > > > As a complement to Mike advice you may have a look

Re: [CMake] Using gcc as an alternative compiler on windows

2010-01-20 Thread John Drescher
> 2010/1/20 Mike Jackson : >> You need to have a valid/correct installation of MinGW or MSYS+MinGW or >> Cygwin. > > As a complement to Mike advice you may have a look at > Code::Blocks (aka C::B) too, it's a cross-platform IDE working on Windows > and there is downloadable installer which comes b

Re: [CMake] Using gcc as an alternative compiler on windows

2010-01-20 Thread Eric Noulard
2010/1/20 Mike Jackson : > You need to have a valid/correct installation of MinGW or MSYS+MinGW or > Cygwin. As a complement to Mike advice you may have a look at Code::Blocks (aka C::B) too, it's a cross-platform IDE working on Windows and there is downloadable installer which comes bundled with

Re: [CMake] Using gcc as an alternative compiler on windows

2010-01-20 Thread Eric Noulard
2010/1/20 John Drescher : >> Navigate to a CLEAN build directory and invoke either cmake or cmake-gui >> > > Out of source builds work great here. You keep your source in one tree > and your builds in other trees. Hi Vikas, May be you could read the FAQ for knowing more about out-of-source: http:

Re: [CMake] Using gcc as an alternative compiler on windows

2010-01-20 Thread John Drescher
> Navigate to a CLEAN build directory and invoke either cmake or cmake-gui > Out of source builds work great here. You keep your source in one tree and your builds in other trees. For me its a choice between 32 and 64 bit builds for different microsoft compilers. I have my source trees inside of

Re: [CMake] Using gcc as an alternative compiler on windows

2010-01-20 Thread Mike Jackson
You need to have a valid/correct installation of MinGW or MSYS+MinGW or Cygwin. After you get one of those installed and working correctly then it is a matter of telling CMake you want to generate makefiles for one of those systems. So, if you want to use MinGW with the new GCC 4.4 compiler, the

[CMake] Using gcc as an alternative compiler on windows

2010-01-20 Thread Chauhan, Vikas
Hi, At present I have written my source code for VS2008. I use cmake to generate VS2008 project files. If I wanted to switch the compiler to gcc then is it possible to use the same cmakelists.txt that I have in my source tree & generate the nmake files or makefiles or vcproj files to use gcc compi