<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hi all,<br>
<br>
In order to build windows applications (not console) with MinGW you
need to set "-mwindows"<br>
parameter for the compiler (<a class="moz-txt-link-freetext" href="http://www.mingw.org/docs.shtml">http://www.mingw.org/docs.shtml</a>).<br>
<br>
Please add<br>
<br>
SET(CMAKE_CREATE_WIN32_EXE  "-mwindows")<br>
<br>
to Windows-gcc.cmake<br>
<br>
I hope this will be included in cmake 2.4 ;-)<br>
<br>
Best regards,<br>
Cristi.<br>
<br>
</font></font>
</body>
</html>