[CMAKE]
[reactos.git] / gcc.cmake
index 267ec93..700cf87 100644 (file)
--- a/gcc.cmake
+++ b/gcc.cmake
@@ -57,6 +57,10 @@ macro(set_module_type MODULE TYPE)
     set_subsystem(${MODULE} windows)\r
     set_entrypoint(${MODULE} wWinMainCRTStartup)\r
   endif()\r
+  if(${TYPE} MATCHES win32cui)\r
+    set_subsystem(${MODULE} windows)\r
+    set_entrypoint(${MODULE} mainCRTStartup)\r
+  endif()\r
 endmacro()\r
 \r
 endif()\r