[CMAKE]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 27 Nov 2010 18:30:39 +0000 (18:30 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 27 Nov 2010 18:30:39 +0000 (18:30 +0000)
Add an incomplete cmake file for msi

svn path=/branches/cmake-bringup/; revision=49823

dll/win32/CMakeLists.txt
dll/win32/msi/CMakeLists.txt [new file with mode: 0644]

index fb81640..2dd1d07 100644 (file)
@@ -91,7 +91,7 @@ add_subdirectory(msgina)
 add_subdirectory(msgsm32.acm)
 add_subdirectory(mshtml)
 add_subdirectory(mshtml.tlb)
-#add_subdirectory(msi)
+add_subdirectory(msi)
 add_subdirectory(msimg32)
 add_subdirectory(msimtf)
 add_subdirectory(msisip)
diff --git a/dll/win32/msi/CMakeLists.txt b/dll/win32/msi/CMakeLists.txt
new file mode 100644 (file)
index 0000000..3a6ce78
--- /dev/null
@@ -0,0 +1,84 @@
+
+spec2def(msi.dll msi.spec)
+
+if (0)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+add_definitions(-D__WINESRC__)
+
+add_library(msi SHARED
+            action.c
+            alter.c
+            appsearch.c
+            automation.c
+            classes.c
+            cond.tab.c
+            create.c</file>
+            custom.c</file>
+            database.c</file>
+            delete.c</file>
+            dialog.c</file>
+            distinct.c</file>
+            drop.c</file>
+            events.c</file>
+            files.c</file>
+            font.c</file>
+            format.c</file>
+            handle.c</file>
+            helpers.c</file>
+            insert.c</file>
+            install.c</file>
+            join.c</file>
+            media.c</file>
+            msi.c</file>
+            msi_main.c</file>
+            msiquery.c</file>
+            package.c</file>
+            preview.c</file>
+            record.c</file>
+            registry.c</file>
+            regsvr.c</file>
+            script.c</file>
+            select.c</file>
+            source.c</file>
+            sql.tab.c</file>
+            storages.c</file>
+            streams.c</file>
+            string.c</file>
+            suminfo.c</file>
+            table.c</file>
+            tokenize.c</file>
+            update.c</file>
+            upgrade.c</file>
+            where.c</file>
+            msi.rc</file>
+            ${CMAKE_CURRENT_BINARY_DIR}/msi.def)
+
+set_module_type(msi win32dll)
+
+target_link_libraries(msi wine uuid PSEH_LIB)
+
+add_importlibs(msi
+               kernel32
+               urlmon
+               wininet
+               comctl32
+               shell32
+               shlwapi
+               cabinet
+               oleaut32
+               ole32
+               version
+               user32
+               gdi32
+               advapi32
+               odbccp32
+               ntdll)
+
+#      <library>msiserver_interface</library>
+#      <dependency>msiserver</dependency>
+#      <dependency>msiheader</dependency>
+
+add_cab_target(msi 1)
+endif()
+add_importlib_target(msi.spec)