[CMake] mingw windows applications

Cristian Adam cristian.adam at gmx.net
Mon Apr 17 10:48:10 EDT 2006


Hi all,

In order to build windows applications (not console) with MinGW you need 
to set "-mwindows"
parameter for the compiler (http://www.mingw.org/docs.shtml).

Please add

SET(CMAKE_CREATE_WIN32_EXE  "-mwindows")

to Windows-gcc.cmake

I hope this will be included in cmake 2.4 ;-)

Best regards,
Cristi.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20060417/001ccf9b/attachment.htm


More information about the CMake mailing list