[CMake] CMake and MinGW on Windows

Shriramana Sharma samjnaa at gmail.com
Wed May 21 01:57:55 EDT 2008


Hello.

I would like to use CMake to build some CMake-ready Qt-based
applications on Windows using MinGW.

I get an error saying "Make was not found". I used
-DCMAKE_MAKE_PROGRAM="<path to mingw>". But then I got an error saying
C compiler could not compile the test program.

I tried on the CMake wiki but both the MinGW-related pages I found:

http://www.cmake.org/Wiki/CMake_MinGW_Compiler_Issues
http://www.cmake.org/Wiki/CmakeMingw

did not solve my problem. Please can anyone give clear instructions as
to how to use CMake with MinGW, especially for compiling Qt programs
on Windows?

Thanks in advance.

Shriramana Sharma.


More information about the CMake mailing list