[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 7 Dec 2010 11:40:10 +0000 (11:40 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 7 Dec 2010 11:40:10 +0000 (11:40 +0000)
- More work rostests cmake integration. Winetests are almost all done (two remain).

svn path=/trunk/; revision=49968

50 files changed:
rostests/winetests/CMakeLists.txt
rostests/winetests/mshtml/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/msi/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/mstask/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/msvcrt/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/msvcrtd/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/msvfw32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/msxml3/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/netapi32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/ntdll/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/ntdsapi/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/ntprint/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/odbccp32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/ole32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/oleacc/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/opengl32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/pdh/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/powrprof/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/psapi/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/qmgr/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/quartz/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/rasapi32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/riched20/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/riched32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/rsabase/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/rsaenh/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/schannel/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/secur32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/serialui/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/setupapi/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/shdocvw/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/shell32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/shlwapi/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/snmpapi/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/spoolss/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/twain_32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/urlmon/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/user32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/userenv/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/usp10/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/uxtheme/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/version/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/winhttp/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/wininet/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/winmm/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/wintrust/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/wlanapi/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/wldap32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/ws2_32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/xmllite/CMakeLists.txt [new file with mode: 0644]

index c1b54f1..0ae0e8d 100644 (file)
@@ -35,54 +35,54 @@ add_subdirectory(mlang)
 add_subdirectory(msacm32)
 add_subdirectory(mscms)
 add_subdirectory(msctf)
-#add_subdirectory(mshtml)
-#add_subdirectory(msi)
-#add_subdirectory(mstask)
-#add_subdirectory(msvcrt)
-#add_subdirectory(msvcrtd)
-#add_subdirectory(msvfw32)
-#add_subdirectory(msxml3)
-#add_subdirectory(netapi32)
-#add_subdirectory(ntdll)
-#add_subdirectory(ntdsapi)
-#add_subdirectory(ntprint)
-#add_subdirectory(odbccp32)
-#add_subdirectory(ole32)
-#add_subdirectory(oleacc)
+add_subdirectory(mshtml)
+add_subdirectory(msi)
+add_subdirectory(mstask)
+add_subdirectory(msvcrt)
+add_subdirectory(msvcrtd)
+add_subdirectory(msvfw32)
+add_subdirectory(msxml3)
+add_subdirectory(netapi32)
+add_subdirectory(ntdll)
+add_subdirectory(ntdsapi)
+add_subdirectory(ntprint)
+add_subdirectory(odbccp32)
+add_subdirectory(ole32)
+add_subdirectory(oleacc)
 #add_subdirectory(oleaut32)
-#add_subdirectory(opengl32)
-#add_subdirectory(pdh)
-#add_subdirectory(powrprof)
-#add_subdirectory(psapi)
-#add_subdirectory(qmgr)
-#add_subdirectory(quartz)
-#add_subdirectory(rasapi32)
-#add_subdirectory(riched20)
-#add_subdirectory(riched32)
+add_subdirectory(opengl32)
+add_subdirectory(pdh)
+add_subdirectory(powrprof)
+add_subdirectory(psapi)
+add_subdirectory(qmgr)
+add_subdirectory(quartz)
+add_subdirectory(rasapi32)
+add_subdirectory(riched20)
+add_subdirectory(riched32)
 #add_subdirectory(rpcrt4)
-#add_subdirectory(rsabase)
-#add_subdirectory(rsaenh)
-#add_subdirectory(schannel)
-#add_subdirectory(secur32)
-#add_subdirectory(serialui)
-#add_subdirectory(setupapi)
-#add_subdirectory(shdocvw)
-#add_subdirectory(shell32)
-#add_subdirectory(shlwapi)
-#add_subdirectory(snmpapi)
-#add_subdirectory(spoolss)
-#add_subdirectory(twain_32)
-#add_subdirectory(urlmon)
-#add_subdirectory(user32)
-#add_subdirectory(userenv)
-#add_subdirectory(usp10)
-#add_subdirectory(uxtheme)
-#add_subdirectory(version)
-#add_subdirectory(winhttp)
-#add_subdirectory(wininet)
-#add_subdirectory(winmm)
-#add_subdirectory(wintrust)
-#add_subdirectory(wlanapi)
-#add_subdirectory(wldap32)
-#add_subdirectory(ws2_32)
-#add_subdirectory(xmllite)
+add_subdirectory(rsabase)
+add_subdirectory(rsaenh)
+add_subdirectory(schannel)
+add_subdirectory(secur32)
+add_subdirectory(serialui)
+add_subdirectory(setupapi)
+add_subdirectory(shdocvw)
+add_subdirectory(shell32)
+add_subdirectory(shlwapi)
+add_subdirectory(snmpapi)
+add_subdirectory(spoolss)
+add_subdirectory(twain_32)
+add_subdirectory(urlmon)
+add_subdirectory(user32)
+add_subdirectory(userenv)
+add_subdirectory(usp10)
+add_subdirectory(uxtheme)
+add_subdirectory(version)
+add_subdirectory(winhttp)
+add_subdirectory(wininet)
+add_subdirectory(winmm)
+add_subdirectory(wintrust)
+add_subdirectory(wlanapi)
+add_subdirectory(wldap32)
+add_subdirectory(ws2_32)
+add_subdirectory(xmllite)
diff --git a/rostests/winetests/mshtml/CMakeLists.txt b/rostests/winetests/mshtml/CMakeLists.txt
new file mode 100644 (file)
index 0000000..7222433
--- /dev/null
@@ -0,0 +1,20 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    dom.c
+    events.c
+    htmldoc.c
+    htmllocation.c
+    misc.c
+    protocol.c
+    script.c
+    testlist.c
+    rsrc.rc)
+
+add_executable(mshtml_winetest ${SOURCE})
+target_link_libraries(mshtml_winetest wine uuid strmiids)
+set_module_type(mshtml_winetest win32cui)
+add_importlibs(mshtml_winetest wininet ole32 oleaut32 user32 gdi32 urlmon advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/msi/CMakeLists.txt b/rostests/winetests/msi/CMakeLists.txt
new file mode 100644 (file)
index 0000000..7bcbe3d
--- /dev/null
@@ -0,0 +1,22 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    automation.c
+    db.c
+    format.c
+    install.c
+    msi.c
+    package.c
+    patch.c
+    record.c
+    source.c
+    suminfo.c
+    testlist.c)
+
+add_executable(msi_winetest ${SOURCE})
+target_link_libraries(msi_winetest wine uuid)
+set_module_type(msi_winetest win32cui)
+add_importlibs(msi_winetest cabinet msi shell32 ole32 oleaut32 user32 advapi32 version msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/mstask/CMakeLists.txt b/rostests/winetests/mstask/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f4832a3
--- /dev/null
@@ -0,0 +1,15 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    task.c
+    task_scheduler.c
+    task_trigger.c
+    testlist.c)
+
+add_executable(mstask_winetest ${SOURCE})
+target_link_libraries(mstask_winetest wine)
+set_module_type(mstask_winetest win32cui)
+add_importlibs(mstask_winetest ole32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/msvcrt/CMakeLists.txt b/rostests/winetests/msvcrt/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2270c89
--- /dev/null
@@ -0,0 +1,26 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_CRT_NONSTDC_NO_DEPRECATE
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    cpp.c
+    data.c
+    dir.c
+    environ.c
+    file.c
+    headers.c
+    heap.c
+    locale.c
+    misc.c
+    printf.c
+    scanf.c
+    signal.c
+    string.c
+    testlist.c
+    time.c)
+
+add_executable(msvcrt_winetest ${SOURCE})
+set_module_type(msvcrt_winetest win32cui)
+add_importlibs(msvcrt_winetest msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/msvcrtd/CMakeLists.txt b/rostests/winetests/msvcrtd/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6d3eb3b
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(msvcrtd_winetest debug.c testlist.c)
+target_link_libraries(msvcrtd_winetest wine)
+set_module_type(msvcrtd_winetest win32cui)
+add_importlibs(msvcrtd_winetest msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/msvfw32/CMakeLists.txt b/rostests/winetests/msvfw32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..628dc4e
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(msvfw32_winetest msvfw.c testlist.c)
+target_link_libraries(msvfw32_winetest wine)
+set_module_type(msvfw32_winetest win32cui)
+add_importlibs(msvfw32_winetest msvfw32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/msxml3/CMakeLists.txt b/rostests/winetests/msxml3/CMakeLists.txt
new file mode 100644 (file)
index 0000000..89ef97e
--- /dev/null
@@ -0,0 +1,17 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    domdoc.c
+    saxreader.c
+    schema.c
+    testlist.c
+    xmldoc.c
+    xmlelem.c)
+
+add_executable(msxml3_winetest ${SOURCE})
+target_link_libraries(msxml3_winetest wine)
+set_module_type(msxml3_winetest win32cui)
+add_importlibs(msxml3_winetest user32 ole32 oleaut32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/netapi32/CMakeLists.txt b/rostests/winetests/netapi32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..8f8b4da
--- /dev/null
@@ -0,0 +1,16 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    access.c
+    apibuf.c
+    ds.c
+    wksta.c
+    testlist.c)
+
+add_executable(netapi32_winetest ${SOURCE})
+target_link_libraries(netapi32_winetest wine)
+set_module_type(netapi32_winetest win32cui)
+add_importlibs(netapi32_winetest advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/ntdll/CMakeLists.txt b/rostests/winetests/ntdll/CMakeLists.txt
new file mode 100644 (file)
index 0000000..adaef0b
--- /dev/null
@@ -0,0 +1,30 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    atom.c
+    change.c
+    directory.c
+    env.c
+    error.c
+    exception.c
+    file.c
+    generated.c
+    info.c
+    large_int.c
+    om.c
+    path.c
+    port.c
+    reg.c
+    rtlbitmap.c
+    rtl.c
+    rtlstr.c
+    string.c
+    time.c
+    testlist.c)
+
+add_executable(ntdll_winetest ${SOURCE})
+set_module_type(ntdll_winetest win32cui)
+add_importlibs(ntdll_winetest user32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/ntdsapi/CMakeLists.txt b/rostests/winetests/ntdsapi/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b99ec98
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(ntdsapi_winetest ntdsapi.c testlist.c)
+target_link_libraries(ntdsapi_winetest wine)
+set_module_type(ntdsapi_winetest win32cui)
+add_importlibs(ntdsapi_winetest ntdsapi msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/ntprint/CMakeLists.txt b/rostests/winetests/ntprint/CMakeLists.txt
new file mode 100644 (file)
index 0000000..192969e
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(ntprint_winetest ntprint.c testlist.c)
+target_link_libraries(ntprint_winetest wine)
+set_module_type(ntprint_winetest win32cui)
+add_importlibs(ntprint_winetest msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/odbccp32/CMakeLists.txt b/rostests/winetests/odbccp32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b90a6d7
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(odbccp32_winetest misc.c testlist.c)
+target_link_libraries(odbccp32_winetest wine)
+set_module_type(odbccp32_winetest win32cui)
+add_importlibs(odbccp32_winetest odbccp32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/ole32/CMakeLists.txt b/rostests/winetests/ole32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9f3f03b
--- /dev/null
@@ -0,0 +1,25 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    clipboard.c
+    compobj.c
+    defaulthandler.c
+    dragdrop.c
+    errorinfo.c
+    hglobalstream.c
+    marshal.c
+    moniker.c
+    ole2.c
+    propvariant.c
+    stg_prop.c
+    storage32.c
+    usrmarshal.c
+    testlist.c)
+
+add_executable(ole32_winetest ${SOURCE})
+target_link_libraries(ole32_winetest wine uuid)
+set_module_type(ole32_winetest win32cui)
+add_importlibs(ole32_winetest oleaut32 ole32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/oleacc/CMakeLists.txt b/rostests/winetests/oleacc/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ccfc7d2
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(oleacc_winetest main.c testlist.c)
+target_link_libraries(oleacc_winetest wine)
+set_module_type(oleacc_winetest win32cui)
+add_importlibs(oleacc_winetest oleacc msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/opengl32/CMakeLists.txt b/rostests/winetests/opengl32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0e5297b
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(opengl32_winetest opengl.c testlist.c)
+target_link_libraries(opengl32_winetest wine)
+set_module_type(opengl32_winetest win32cui)
+add_importlibs(opengl32_winetest opengl32 gdi32 user32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/pdh/CMakeLists.txt b/rostests/winetests/pdh/CMakeLists.txt
new file mode 100644 (file)
index 0000000..decf1dc
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(pdh_winetest pdh.c testlist.c)
+target_link_libraries(pdh_winetest wine)
+set_module_type(pdh_winetest win32cui)
+add_importlibs(pdh_winetest pdh msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/powrprof/CMakeLists.txt b/rostests/winetests/powrprof/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fec0f4a
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP
+    -D_UNICODE -DUNICODE)
+
+add_executable(powrprof_winetest pwrprof.c testlist.c)
+set_module_type(powrprof_winetest win32cui)
+add_importlibs(powrprof_winetest advapi32 pwrprof msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/psapi/CMakeLists.txt b/rostests/winetests/psapi/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e7c048d
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(psapi_winetest psapi_main.c testlist.c)
+target_link_libraries(psapi_winetest wine)
+set_module_type(psapi_winetest win32cui)
+add_importlibs(psapi_winetest psapi msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/qmgr/CMakeLists.txt b/rostests/winetests/qmgr/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4670f33
--- /dev/null
@@ -0,0 +1,17 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    enum_files.c
+    enum_jobs.c
+    file.c
+    job.c
+    qmgr.c
+    testlist.c)
+
+add_executable(qmgr_winetest ${SOURCE})
+target_link_libraries(qmgr_winetest wine)
+set_module_type(qmgr_winetest win32cui)
+add_importlibs(qmgr_winetest ole32 shlwapi user32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/quartz/CMakeLists.txt b/rostests/winetests/quartz/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b589596
--- /dev/null
@@ -0,0 +1,20 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    avisplitter.c
+    dsoundrender.c
+    filtergraph.c
+    filtermapper.c
+    memallocator.c
+    misc.c
+    referenceclock.c
+    videorenderer.c
+    testlist.c)
+
+add_executable(quartz_winetest ${SOURCE})
+target_link_libraries(quartz_winetest wine)
+set_module_type(quartz_winetest win32cui)
+add_importlibs(quartz_winetest ole32 oleaut32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/rasapi32/CMakeLists.txt b/rostests/winetests/rasapi32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2e84032
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(rasapi32_winetest rasapi.c testlist.c)
+target_link_libraries(rasapi32_winetest wine)
+set_module_type(rasapi32_winetest win32cui)
+add_importlibs(rasapi32_winetest msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/riched20/CMakeLists.txt b/rostests/winetests/riched20/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ff6b867
--- /dev/null
@@ -0,0 +1,15 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    editor.c
+    richole.c
+    testlist.c
+    txtsrv.c)
+
+add_executable(riched20_winetest ${SOURCE})
+target_link_libraries(riched20_winetest wine uuid)
+set_module_type(riched20_winetest win32cui)
+add_importlibs(riched20_winetest ole32 oleaut32 user32 gdi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/riched32/CMakeLists.txt b/rostests/winetests/riched32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..3a473ff
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(riched32_winetest editor.c testlist.c)
+target_link_libraries(riched32_winetest wine)
+set_module_type(riched32_winetest win32cui)
+add_importlibs(riched32_winetest ole32 user32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/rsabase/CMakeLists.txt b/rostests/winetests/rsabase/CMakeLists.txt
new file mode 100644 (file)
index 0000000..154febd
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(rsabase_winetest rsabase.c testlist.c)
+target_link_libraries(rsabase_winetest wine)
+set_module_type(rsabase_winetest win32cui)
+add_importlibs(rsabase_winetest advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/rsaenh/CMakeLists.txt b/rostests/winetests/rsaenh/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9e621c6
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(rsaenh_winetest rsaenh.c testlist.c)
+target_link_libraries(rsaenh_winetest wine)
+set_module_type(rsaenh_winetest win32cui)
+add_importlibs(rsaenh_winetest advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/schannel/CMakeLists.txt b/rostests/winetests/schannel/CMakeLists.txt
new file mode 100644 (file)
index 0000000..98ebd0b
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(schannel_winetest main.c testlist.c)
+target_link_libraries(schannel_winetest wine)
+set_module_type(schannel_winetest win32cui)
+add_importlibs(schannel_winetest msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/secur32/CMakeLists.txt b/rostests/winetests/secur32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..3e1b984
--- /dev/null
@@ -0,0 +1,16 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    main.c
+    ntlm.c
+    schannel.c
+    secur32.c
+    testlist.c)
+
+add_executable(secur32_winetest ${SOURCE})
+target_link_libraries(secur32_winetest wine)
+set_module_type(secur32_winetest win32cui)
+add_importlibs(secur32_winetest advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/serialui/CMakeLists.txt b/rostests/winetests/serialui/CMakeLists.txt
new file mode 100644 (file)
index 0000000..dc3e0ab
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(serialui_winetest confdlg.c testlist.c)
+target_link_libraries(serialui_winetest wine)
+set_module_type(serialui_winetest win32cui)
+add_importlibs(serialui_winetest msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/setupapi/CMakeLists.txt b/rostests/winetests/setupapi/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ea564d7
--- /dev/null
@@ -0,0 +1,20 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    devclass.c
+    devinst.c
+    install.c
+    misc.c
+    parser.c
+    query.c
+    setupcab.c
+    stringtable.c
+    testlist.c)
+
+add_executable(setupapi_winetest ${SOURCE})
+target_link_libraries(setupapi_winetest wine)
+set_module_type(setupapi_winetest win32cui)
+add_importlibs(setupapi_winetest advapi32 setupapi user32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/shdocvw/CMakeLists.txt b/rostests/winetests/shdocvw/CMakeLists.txt
new file mode 100644 (file)
index 0000000..c3d56e8
--- /dev/null
@@ -0,0 +1,16 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    intshcut.c
+    shdocvw.c
+    shortcut.c
+    webbrowser.c
+    testlist.c)
+
+add_executable(shdocvw_winetest ${SOURCE})
+target_link_libraries(shdocvw_winetest wine)
+set_module_type(shdocvw_winetest win32cui)
+add_importlibs(shdocvw_winetest gdi32 shell32 ole32 oleaut32 user32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/shell32/CMakeLists.txt b/rostests/winetests/shell32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..dc26726
--- /dev/null
@@ -0,0 +1,29 @@
+
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D_WIN32_WINNT=0x501)
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    appbar.c
+    autocomplete.c
+    generated.c
+    progman_dde.c
+    shelllink.c
+    shellpath.c
+    shlexec.c
+    shlfileop.c
+    shlfolder.c
+    shlview.c
+    string.c
+    systray.c
+    testlist.c
+    shfldr_special.c
+    rsrc.rc)
+
+add_executable(shell32_winetest ${SOURCE})
+target_link_libraries(shell32_winetest wine uuid)
+set_module_type(shell32_winetest win32cui)
+add_importlibs(shell32_winetest shlwapi gdi32 shell32 ole32 oleaut32 user32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/shlwapi/CMakeLists.txt b/rostests/winetests/shlwapi/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e0f8c65
--- /dev/null
@@ -0,0 +1,23 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    assoc.c
+    clist.c
+    clsid.c
+    generated.c
+    istream.c
+    ordinal.c
+    path.c
+    shreg.c
+    string.c
+    url.c
+    testlist.c
+    thread.c)
+
+add_executable(shlwapi_winetest ${SOURCE})
+target_link_libraries(shlwapi_winetest wine uuid)
+set_module_type(shlwapi_winetest win32cui)
+add_importlibs(shlwapi_winetest shlwapi ole32 oleaut32 user32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/snmpapi/CMakeLists.txt b/rostests/winetests/snmpapi/CMakeLists.txt
new file mode 100644 (file)
index 0000000..acf5b7b
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(snmpapi_winetest util.c testlist.c)
+target_link_libraries(snmpapi_winetest wine)
+set_module_type(snmpapi_winetest win32cui)
+add_importlibs(snmpapi_winetest snmpapi msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/spoolss/CMakeLists.txt b/rostests/winetests/spoolss/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fb9bd53
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(spoolss_winetest spoolss.c testlist.c)
+target_link_libraries(spoolss_winetest wine)
+set_module_type(spoolss_winetest win32cui)
+add_importlibs(spoolss_winetest msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/twain_32/CMakeLists.txt b/rostests/winetests/twain_32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..57820f5
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(twain_32_winetest dsm.c testlist.c)
+target_link_libraries(twain_32_winetest wine)
+set_module_type(twain_32_winetest win32cui)
+add_importlibs(twain_32_winetest user32 gdi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/urlmon/CMakeLists.txt b/rostests/winetests/urlmon/CMakeLists.txt
new file mode 100644 (file)
index 0000000..39d596d
--- /dev/null
@@ -0,0 +1,19 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    generated.c
+    misc.c
+    protocol.c
+    sec_mgr.c
+    stream.c
+    uri.c
+    url.c
+    testlist.c)
+
+add_executable(urlmon_winetest ${SOURCE})
+target_link_libraries(urlmon_winetest wine uuid)
+set_module_type(urlmon_winetest win32cui)
+add_importlibs(urlmon_winetest urlmon ole32 oleaut32 user32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/user32/CMakeLists.txt b/rostests/winetests/user32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..73059b5
--- /dev/null
@@ -0,0 +1,37 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    broadcast.c
+    class.c
+    clipboard.c
+    combo.c
+    cursoricon.c
+    dce.c
+    dde.c
+    dialog.c
+    edit.c
+    generated.c
+    input.c
+    listbox.c
+    menu.c
+    monitor.c
+    msg.c
+    resource.c
+    scroll.c
+    static.c
+    sysparams.c
+    text.c
+    uitools.c
+    win.c
+    winstation.c
+    wsprintf.c
+    testlist.c
+    resource.rc)
+
+add_executable(user32_winetest ${SOURCE})
+target_link_libraries(user32_winetest wine)
+set_module_type(user32_winetest win32cui)
+add_importlibs(user32_winetest user32 gdi32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/userenv/CMakeLists.txt b/rostests/winetests/userenv/CMakeLists.txt
new file mode 100644 (file)
index 0000000..a08afc1
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(userenv_winetest userenv.c testlist.c)
+target_link_libraries(userenv_winetest wine)
+set_module_type(userenv_winetest win32cui)
+add_importlibs(userenv_winetest userenv advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/usp10/CMakeLists.txt b/rostests/winetests/usp10/CMakeLists.txt
new file mode 100644 (file)
index 0000000..c274692
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(usp10_winetest usp10.c testlist.c)
+target_link_libraries(usp10_winetest wine)
+set_module_type(usp10_winetest win32cui)
+add_importlibs(usp10_winetest usp10 user32 gdi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/uxtheme/CMakeLists.txt b/rostests/winetests/uxtheme/CMakeLists.txt
new file mode 100644 (file)
index 0000000..927816b
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(uxtheme_winetest system.c testlist.c)
+target_link_libraries(uxtheme_winetest wine)
+set_module_type(uxtheme_winetest win32cui)
+add_importlibs(uxtheme_winetest user32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/version/CMakeLists.txt b/rostests/winetests/version/CMakeLists.txt
new file mode 100644 (file)
index 0000000..7fe89d6
--- /dev/null
@@ -0,0 +1,15 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    info.c
+    install.c
+    version.rc
+    testlist.c)
+
+add_executable(version_winetest ${SOURCE})
+target_link_libraries(version_winetest wine)
+set_module_type(version_winetest win32cui)
+add_importlibs(version_winetest version msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/winhttp/CMakeLists.txt b/rostests/winetests/winhttp/CMakeLists.txt
new file mode 100644 (file)
index 0000000..10c7444
--- /dev/null
@@ -0,0 +1,15 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    notification.c
+    testlist.c
+    url.c
+    winhttp.c)
+
+add_executable(winhttp_winetest ${SOURCE})
+target_link_libraries(winhttp_winetest wine)
+set_module_type(winhttp_winetest win32cui)
+add_importlibs(winhttp_winetest winhttp crypt32 ws2_32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/wininet/CMakeLists.txt b/rostests/winetests/wininet/CMakeLists.txt
new file mode 100644 (file)
index 0000000..a206c72
--- /dev/null
@@ -0,0 +1,18 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    ftp.c
+    generated.c
+    http.c
+    internet.c
+    url.c
+    urlcache.c
+    testlist.c)
+
+add_executable(wininet_winetest ${SOURCE})
+target_link_libraries(wininet_winetest wine)
+set_module_type(wininet_winetest win32cui)
+add_importlibs(wininet_winetest wininet ws2_32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/winmm/CMakeLists.txt b/rostests/winetests/winmm/CMakeLists.txt
new file mode 100644 (file)
index 0000000..49d42ff
--- /dev/null
@@ -0,0 +1,18 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    capture.c
+    mci.c
+    mixer.c
+    mmio.c
+    timer.c
+    testlist.c
+    wave.c)
+
+add_executable(winmm_winetest ${SOURCE})
+target_link_libraries(winmm_winetest wine dxguid)
+set_module_type(winmm_winetest win32cui)
+add_importlibs(winmm_winetest winmm user32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/wintrust/CMakeLists.txt b/rostests/winetests/wintrust/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ff291f3
--- /dev/null
@@ -0,0 +1,16 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    asn.c
+    crypt.c
+    register.c
+    softpub.c
+    testlist.c)
+
+add_executable(wintrust_winetest ${SOURCE})
+target_link_libraries(wintrust_winetest wine)
+set_module_type(wintrust_winetest win32cui)
+add_importlibs(wintrust_winetest wintrust crypt32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/wlanapi/CMakeLists.txt b/rostests/winetests/wlanapi/CMakeLists.txt
new file mode 100644 (file)
index 0000000..edd9701
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(wlanapi_winetest wlanapi.c testlist.c)
+target_link_libraries(wlanapi_winetest wine)
+set_module_type(wlanapi_winetest win32cui)
+add_importlibs(wlanapi_winetest wlanapi msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/wldap32/CMakeLists.txt b/rostests/winetests/wldap32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ff8a85c
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(wldap32_winetest parse.c testlist.c)
+target_link_libraries(wldap32_winetest wine)
+set_module_type(wldap32_winetest win32cui)
+add_importlibs(wldap32_winetest wldap32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/ws2_32/CMakeLists.txt b/rostests/winetests/ws2_32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0f0e71d
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(ws2_32_winetest protocol.c sock.c testlist.c)
+target_link_libraries(ws2_32_winetest wine)
+set_module_type(ws2_32_winetest win32cui)
+add_importlibs(ws2_32_winetest ws2_32 user32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/xmllite/CMakeLists.txt b/rostests/winetests/xmllite/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6c9ec26
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(xmllite_winetest reader.c testlist.c)
+target_link_libraries(xmllite_winetest wine)
+set_module_type(xmllite_winetest win32cui)
+add_importlibs(xmllite_winetest xmllite ole32 msvcrt kernel32 ntdll)