[CMake] Unix Makefiles for MinGW | Generator for MinGW

Martin Baumann mailsgetlost at web.de
Wed Feb 8 19:25:53 EST 2006


Hi,

I have massive problems configuring VTK-5.0 source with CMake for MinGW.
What is the best way to do so?

I tried to create Unix-Makefiles and compile with MinGW via MSYS. But 
the variables
for make tool and compiler is not set by default in my system. I did so 
with commands
set CMAKE_MAKE_PROGRAM=c:\programs\...
but this didn't help!

Then I read an mail on this list:

//////////////////////////////////////////////////////////////////
I have just checked in two new generators for CMake.
If you cvs checkout cmake, you will find the following
new generators:

  MSYS Makefiles              = Generates MSYS makefiles.
  MinGW Makefiles             = Generates a make file for use with
                                mingw32-make.
The MSys makefiles are for using the make and /bin/sh
that comes with msys to do the build.  The MinGW makefiles
are for using mingw32-make and the windows command shell.
Also, the problem with running CMakeSetup from the Start menu
and make crashing has been fixed, so you do not have to run
CMakeSetup from an special shell or environment.  MinGW and
MSYS are not even required to be in the PATH.

-Bill
//////////////////////////////////////////////////////////////////


That sounds good. Maybe this is a good way?
I just installed WinCVS and connected to the CVS-Server of CMake. Now 
what do I have to
download to use the new generator?

Thanks, Martin Baumann





More information about the CMake mailing list