Author: hbelusca
Date: Mon Feb 20 20:47:42 2017
New Revision: 73867

URL: http://svn.reactos.org/svn/reactos?rev=73867&view=rev
Log:
[MOFCOMP]: Add the MOF compiler stub from Wine, which allows fixing the very 
last step in the installation of Office 2010.
CORE-12811 #resolve
CORE-12279

Added:
    trunk/reactos/base/applications/cmdutils/mofcomp/
    trunk/reactos/base/applications/cmdutils/mofcomp/CMakeLists.txt   (with 
props)
    trunk/reactos/base/applications/cmdutils/mofcomp/mofcomp.c   (with props)
Modified:
    trunk/reactos/base/applications/cmdutils/CMakeLists.txt

Modified: trunk/reactos/base/applications/cmdutils/CMakeLists.txt
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils/CMakeLists.txt?rev=73867&r1=73866&r2=73867&view=diff
==============================================================================
--- trunk/reactos/base/applications/cmdutils/CMakeLists.txt     [iso-8859-1] 
(original)
+++ trunk/reactos/base/applications/cmdutils/CMakeLists.txt     [iso-8859-1] 
Mon Feb 20 20:47:42 2017
@@ -9,6 +9,7 @@
 add_subdirectory(hostname)
 add_subdirectory(lodctr)
 add_subdirectory(mode)
+add_subdirectory(mofcomp)
 add_subdirectory(more)
 add_subdirectory(reg)
 add_subdirectory(schtasks)

Added: trunk/reactos/base/applications/cmdutils/mofcomp/CMakeLists.txt
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils/mofcomp/CMakeLists.txt?rev=73867
==============================================================================
--- trunk/reactos/base/applications/cmdutils/mofcomp/CMakeLists.txt     (added)
+++ trunk/reactos/base/applications/cmdutils/mofcomp/CMakeLists.txt     
[iso-8859-1] Mon Feb 20 20:47:42 2017
@@ -0,0 +1,6 @@
+
+add_executable(mofcomp mofcomp.c)
+target_link_libraries(mofcomp wine)
+set_module_type(mofcomp win32cui UNICODE)
+add_importlibs(mofcomp msvcrt kernel32 ntdll)
+add_cd_file(TARGET mofcomp DESTINATION reactos/system32/wbem FOR all)

Propchange: trunk/reactos/base/applications/cmdutils/mofcomp/CMakeLists.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: trunk/reactos/base/applications/cmdutils/mofcomp/mofcomp.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils/mofcomp/mofcomp.c?rev=73867
==============================================================================
--- trunk/reactos/base/applications/cmdutils/mofcomp/mofcomp.c  (added)
+++ trunk/reactos/base/applications/cmdutils/mofcomp/mofcomp.c  [iso-8859-1] 
Mon Feb 20 20:47:42 2017
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2010 Hans Leidekker for CodeWeavers
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(mofcomp);
+
+int wmain( int argc, const WCHAR *argv[] )
+{
+    WINE_FIXME("stub\n");
+    return 0;
+}

Propchange: trunk/reactos/base/applications/cmdutils/mofcomp/mofcomp.c
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to