[CMAKE]
[reactos.git] / gcc.cmake
index 14e10d6..80fe006 100644 (file)
--- a/gcc.cmake
+++ b/gcc.cmake
@@ -93,6 +93,10 @@ macro(set_module_type MODULE TYPE)
     if(${TYPE} MATCHES win32dll)\r
         set_entrypoint(${MODULE} DllMain@12)\r
     endif()\r
+    if(${TYPE} MATCHES win32ocx)\r
+        set_entrypoint(${MODULE} DllMain@12)\r
+        set_target_properties(${MODULE} PROPERTIES SUFFIX ".ocx")\r
+    endif()\r
 endmacro()\r
 \r
 endif()\r