[CMake] Unix Makefiles for MinGW | Generator for MinGW
Martin Baumann
mailsgetlost at web.de
Wed Feb 8 20:04:41 EST 2006
Hmmm...
Thanks for your advice! But I have a problem: I tried the following:
/DProgramme/Cmake\ 2.2/bin/cmake -GUnix Makefiles -i
/D/Dev/Libs/VTK-5.0/Source
but it seems to hang. Nothing works...
I also tried => -G"Unix Makefiles" <= and => -G Unix Makefiles <= and =>
-G Unix\ Makefiles <= but none
of them works.
How must I write it correct?
Thanks, MB
William A. Hoffman schrieb:
>At 07:25 PM 2/8/2006, Martin Baumann wrote:
>
>
>>Hi,
>>
>>I have massive problems configuring VTK-5.0 source with CMake for MinGW.
>>What is the best way to do so?
>>
>>
>
>You should be able to use the release cmake. The trick is you have to run
>CMakeSetup from the command prompt of msys, and select unix makefiles.
>Then things should work.
>
>
>
>>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?
>>
>>
>
>You have to build cmake, you can run the bootstrap script, then make.
>I would recommend the first approach.
>
>-Bill
>
>
>
>
More information about the CMake
mailing list