[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 7 Dec 2010 09:27:10 +0000 (09:27 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 7 Dec 2010 09:27:10 +0000 (09:27 +0000)
- Start working on rostests cmake integration.

svn path=/trunk/; revision=49966

38 files changed:
rostests/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/advapi32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/advpack/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/amstream/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/atl/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/avifil32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/browseui/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/cabinet/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/comcat/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/comctl32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/comdlg32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/credui/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/crypt32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/cryptnet/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/cryptui/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/dnsapi/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/dsound/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/fusion/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/gdi32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/gdiplus/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/hlink/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/icmp/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/imm32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/inetcomm/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/inetmib1/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/iphlpapi/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/itss/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/jscript/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/kernel32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/localspl/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/localui/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/lz32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/mapi32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/mlang/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/msacm32/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/mscms/CMakeLists.txt [new file with mode: 0644]
rostests/winetests/msctf/CMakeLists.txt [new file with mode: 0644]

diff --git a/rostests/CMakeLists.txt b/rostests/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b926010
--- /dev/null
@@ -0,0 +1,9 @@
+
+#add_subdirectory(apitests)
+#add_subdirectory(dibtests)
+#add_subdirectory(dxtest)
+#add_subdirectory(regtests)
+#add_subdirectory(rosautotest)
+#add_subdirectory(tests)
+#add_subdirectory(win32)
+add_subdirectory(winetests)
diff --git a/rostests/winetests/CMakeLists.txt b/rostests/winetests/CMakeLists.txt
new file mode 100644 (file)
index 0000000..c1b54f1
--- /dev/null
@@ -0,0 +1,88 @@
+
+add_subdirectory(advapi32)
+add_subdirectory(advpack)
+add_subdirectory(amstream)
+add_subdirectory(atl)
+add_subdirectory(avifil32)
+add_subdirectory(browseui)
+add_subdirectory(cabinet)
+add_subdirectory(comcat)
+add_subdirectory(comctl32)
+add_subdirectory(comdlg32)
+add_subdirectory(credui)
+add_subdirectory(crypt32)
+add_subdirectory(cryptnet)
+add_subdirectory(cryptui)
+add_subdirectory(dnsapi)
+add_subdirectory(dsound)
+add_subdirectory(fusion)
+add_subdirectory(gdi32)
+add_subdirectory(gdiplus)
+add_subdirectory(hlink)
+add_subdirectory(icmp)
+add_subdirectory(imm32)
+add_subdirectory(inetcomm)
+add_subdirectory(inetmib1)
+add_subdirectory(iphlpapi)
+add_subdirectory(itss)
+add_subdirectory(jscript)
+add_subdirectory(kernel32)
+add_subdirectory(localspl)
+add_subdirectory(localui)
+add_subdirectory(lz32)
+add_subdirectory(mapi32)
+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(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(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)
diff --git a/rostests/winetests/advapi32/CMakeLists.txt b/rostests/winetests/advapi32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d581b7f
--- /dev/null
@@ -0,0 +1,25 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    cred.c
+    crypt.c
+    crypt_lmhash.c
+    crypt_md4.c
+    crypt_md5.c
+    crypt_sha.c
+    eventlog.c
+    lsa.c
+    registry.c
+    security.c
+    service.c
+    testlist.c)
+
+add_executable(advapi32_winetest ${SOURCE})
+
+target_link_libraries(advapi32_winetest uuid)
+
+set_module_type(advapi32_winetest win32cui)
+add_importlibs(advapi32_winetest advapi32 ole32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/advpack/CMakeLists.txt b/rostests/winetests/advpack/CMakeLists.txt
new file mode 100644 (file)
index 0000000..1976f4c
--- /dev/null
@@ -0,0 +1,17 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    advpack.c
+    files.c
+    install.c
+    testlist.c)
+
+add_executable(advpack_winetest ${SOURCE})
+
+target_link_libraries(advpack_winetest wine)
+
+set_module_type(advpack_winetest win32cui)
+add_importlibs(advpack_winetest cabinet advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/amstream/CMakeLists.txt b/rostests/winetests/amstream/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e861c17
--- /dev/null
@@ -0,0 +1,6 @@
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+add_executable(amstream_winetest amstream.c testlist.c)
+target_link_libraries(amstream_winetest wine uuid)
+set_module_type(amstream_winetest win32cui)
+add_importlibs(amstream_winetest ole32 user32 ddraw msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/atl/CMakeLists.txt b/rostests/winetests/atl/CMakeLists.txt
new file mode 100644 (file)
index 0000000..02a3416
--- /dev/null
@@ -0,0 +1,14 @@
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    atl_ax.c
+    module.c
+    testlist.c)
+
+add_executable(atl_winetest ${SOURCE})
+
+target_link_libraries(atl_winetest wine uuid)
+
+set_module_type(atl_winetest win32cui)
+add_importlibs(atl_winetest ole32 user32 atl msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/avifil32/CMakeLists.txt b/rostests/winetests/avifil32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..cf62f0f
--- /dev/null
@@ -0,0 +1,6 @@
+
+add_definitions(-D_DLL -D__USE_CRTIMP)
+add_executable(avifil32_winetest api.c testlist.c)
+target_link_libraries(avifil32_winetest wine)
+set_module_type(avifil32_winetest win32cui)
+add_importlibs(avifil32_winetest avifil32 msvcrt kernel32)
diff --git a/rostests/winetests/browseui/CMakeLists.txt b/rostests/winetests/browseui/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f2a53f6
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(browseui_winetest autocomplete.c testlist.c)
+target_link_libraries(browseui_winetest wine uuid)
+set_module_type(browseui_winetest win32cui)
+add_importlibs(browseui_winetest user32 ole32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/cabinet/CMakeLists.txt b/rostests/winetests/cabinet/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b224689
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(cabinet_winetest extract.c fdi.c testlist.c)
+target_link_libraries(cabinet_winetest wine)
+set_module_type(cabinet_winetest win32cui)
+add_importlibs(cabinet_winetest cabinet msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/comcat/CMakeLists.txt b/rostests/winetests/comcat/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0bc7187
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(comcat_winetest comcat.c testlist.c)
+target_link_libraries(comcat_winetest wine uuid)
+set_module_type(comcat_winetest win32cui)
+add_importlibs(comcat_winetest ole32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/comctl32/CMakeLists.txt b/rostests/winetests/comctl32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e7ccb4f
--- /dev/null
@@ -0,0 +1,40 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+remove_definitions(-D_WIN32_WINNT=0x502)
+add_definitions(-D_WIN32_WINNT=0x600)
+
+remove_definitions(-D_WIN32_IE=0x600)
+add_definitions(-D_WIN32_IE=0x500)
+
+list(APPEND SOURCE
+    comboex.c
+    datetime.c
+    dpa.c
+    header.c
+    imagelist.c
+    ipaddress.c
+    listview.c
+    misc.c
+    monthcal.c
+    mru.c
+    progress.c
+    propsheet.c
+    rebar.c
+    status.c
+    subclass.c
+    tab.c
+    toolbar.c
+    tooltips.c
+    trackbar.c
+    treeview.c
+    updown.c
+    testlist.c
+    rsrc.rc)
+
+add_executable(comctl32_winetest ${SOURCE})
+target_link_libraries(comctl32_winetest wine)
+set_module_type(comctl32_winetest win32cui)
+add_importlibs(comctl32_winetest comctl32 ole32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/comdlg32/CMakeLists.txt b/rostests/winetests/comdlg32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0e9cc28
--- /dev/null
@@ -0,0 +1,16 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    filedlg.c
+    fontdlg.c
+    printdlg.c
+    testlist.c
+    rsrc.rc)
+
+add_executable(comdlg32_winetest ${SOURCE})
+target_link_libraries(comdlg32_winetest wine)
+set_module_type(comdlg32_winetest win32cui)
+add_importlibs(comdlg32_winetest comdlg32 winspool user32 gdi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/credui/CMakeLists.txt b/rostests/winetests/credui/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e493c40
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(credui_winetest credui.c testlist.c)
+target_link_libraries(credui_winetest wine)
+set_module_type(credui_winetest win32cui)
+add_importlibs(credui_winetest credui msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/crypt32/CMakeLists.txt b/rostests/winetests/crypt32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6653c07
--- /dev/null
@@ -0,0 +1,27 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    base64.c
+    cert.c
+    chain.c
+    crl.c
+    ctl.c
+    encode.c
+    main.c
+    message.c
+    msg.c
+    object.c
+    oid.c
+    protectdata.c
+    sip.c
+    store.c
+    str.c
+    testlist.c)
+
+add_executable(crypt32_winetest ${SOURCE})
+target_link_libraries(crypt32_winetest wine)
+set_module_type(crypt32_winetest win32cui)
+add_importlibs(crypt32_winetest crypt32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/cryptnet/CMakeLists.txt b/rostests/winetests/cryptnet/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9cebff6
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(cryptnet_winetest cryptnet.c testlist.c)
+target_link_libraries(cryptnet_winetest wine)
+set_module_type(cryptnet_winetest win32cui)
+add_importlibs(cryptnet_winetest cryptnet crypt32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/cryptui/CMakeLists.txt b/rostests/winetests/cryptui/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d5b195f
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(cryptui_winetest cryptui.c testlist.c)
+target_link_libraries(cryptui_winetest wine)
+set_module_type(cryptui_winetest win32cui)
+add_importlibs(cryptui_winetest cryptui crypt32 user32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/dnsapi/CMakeLists.txt b/rostests/winetests/dnsapi/CMakeLists.txt
new file mode 100644 (file)
index 0000000..81fdcd0
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(dnsapi_winetest name.c record.c testlist.c)
+target_link_libraries(dnsapi_winetest wine)
+set_module_type(dnsapi_winetest win32cui)
+add_importlibs(dnsapi_winetest dnsapi msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/dsound/CMakeLists.txt b/rostests/winetests/dsound/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6007bef
--- /dev/null
@@ -0,0 +1,19 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    capture.c
+    ds3d8.c
+    ds3d.c
+    dsound8.c
+    dsound.c
+    duplex.c
+    propset.c
+    testlist.c)
+
+add_executable(dsound_winetest ${SOURCE})
+target_link_libraries(dsound_winetest wine uuid dxguid)
+set_module_type(dsound_winetest win32cui)
+add_importlibs(dsound_winetest dsound ole32 user32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/fusion/CMakeLists.txt b/rostests/winetests/fusion/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b333c0b
--- /dev/null
@@ -0,0 +1,16 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    asmcache.c
+    asmenum.c
+    asmname.c
+    fusion.c
+    testlist.c)
+
+add_executable(fusion_winetest ${SOURCE})
+target_link_libraries(fusion_winetest wine)
+set_module_type(fusion_winetest win32cui)
+add_importlibs(fusion_winetest user32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/gdi32/CMakeLists.txt b/rostests/winetests/gdi32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d3f2bc3
--- /dev/null
@@ -0,0 +1,24 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    bitmap.c
+    brush.c
+    clipping.c
+    dc.c
+    gdiobj.c
+    generated.c
+    icm.c
+    font.c
+    mapping.c
+    metafile.c
+    palette.c
+    path.c
+    pen.c
+    testlist.c)
+
+add_executable(gdi32_winetest ${SOURCE})
+set_module_type(gdi32_winetest win32cui)
+add_importlibs(gdi32_winetest gdi32 user32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/gdiplus/CMakeLists.txt b/rostests/winetests/gdiplus/CMakeLists.txt
new file mode 100644 (file)
index 0000000..325f20b
--- /dev/null
@@ -0,0 +1,23 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    brush.c
+    customlinecap.c
+    font.c
+    graphics.c
+    graphicspath.c
+    image.c
+    matrix.c
+    pathiterator.c
+    pen.c
+    region.c
+    stringformat.c
+    testlist.c)
+
+add_executable(gdiplus_winetest ${SOURCE})
+target_link_libraries(gdiplus_winetest wine)
+set_module_type(gdiplus_winetest win32cui)
+add_importlibs(gdiplus_winetest gdiplus user32 gdi32 ole32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/hlink/CMakeLists.txt b/rostests/winetests/hlink/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e8edbff
--- /dev/null
@@ -0,0 +1,14 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    browse_ctx.c
+    hlink.c
+    testlist.c)
+
+add_executable(hlink_winetest ${SOURCE})
+target_link_libraries(hlink_winetest wine uuid)
+set_module_type(hlink_winetest win32cui)
+add_importlibs(hlink_winetest hlink ole32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/icmp/CMakeLists.txt b/rostests/winetests/icmp/CMakeLists.txt
new file mode 100644 (file)
index 0000000..dfcd1f3
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(icmp_winetest icmp.c testlist.c)
+target_link_libraries(icmp_winetest wine uuid)
+set_module_type(icmp_winetest win32cui)
+add_importlibs(icmp_winetest icmp msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/imm32/CMakeLists.txt b/rostests/winetests/imm32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..dbd80fd
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(imm32_winetest imm32.c testlist.c)
+target_link_libraries(imm32_winetest wine)
+set_module_type(imm32_winetest win32cui)
+add_importlibs(imm32_winetest imm32 user32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/inetcomm/CMakeLists.txt b/rostests/winetests/inetcomm/CMakeLists.txt
new file mode 100644 (file)
index 0000000..3f6c28b
--- /dev/null
@@ -0,0 +1,14 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    mimeintl.c
+    mimeole.c
+    testlist.c)
+
+add_executable(inetcomm_winetest ${SOURCE})
+target_link_libraries(inetcomm_winetest wine)
+set_module_type(inetcomm_winetest win32cui)
+add_importlibs(inetcomm_winetest inetcomm oleaut32 ole32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/inetmib1/CMakeLists.txt b/rostests/winetests/inetmib1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fb822b5
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(inetmib1_winetest main.c testlist.c)
+target_link_libraries(inetmib1_winetest wine)
+set_module_type(inetmib1_winetest win32cui)
+add_importlibs(inetmib1_winetest snmpapi msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/iphlpapi/CMakeLists.txt b/rostests/winetests/iphlpapi/CMakeLists.txt
new file mode 100644 (file)
index 0000000..1f81d67
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(iphlpapi_winetest iphlpapi.c testlist.c)
+target_link_libraries(iphlpapi_winetest wine)
+set_module_type(iphlpapi_winetest win32cui)
+add_importlibs(iphlpapi_winetest msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/itss/CMakeLists.txt b/rostests/winetests/itss/CMakeLists.txt
new file mode 100644 (file)
index 0000000..177663b
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(itss_winetest protocol.c testlist.c rsrc.rc)
+target_link_libraries(itss_winetest wine)
+set_module_type(itss_winetest win32cui)
+add_importlibs(itss_winetest ole32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/jscript/CMakeLists.txt b/rostests/winetests/jscript/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ca450f6
--- /dev/null
@@ -0,0 +1,16 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    activex.c
+    jscript.c
+    run.c
+    testlist.c
+    rsrc.rc)
+
+add_executable(jscript_winetest ${SOURCE})
+target_link_libraries(jscript_winetest wine)
+set_module_type(jscript_winetest win32cui)
+add_importlibs(jscript_winetest ole32 oleaut32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/kernel32/CMakeLists.txt b/rostests/winetests/kernel32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4563400
--- /dev/null
@@ -0,0 +1,47 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    actctx.c
+    alloc.c
+    atom.c
+    change.c
+    codepage.c
+    comm.c
+    console.c
+    debugger.c
+    directory.c
+    drive.c
+    environ.c
+    fiber.c
+    file.c
+    format_msg.c
+    #generated.c
+    heap.c
+    interlck.c
+    loader.c
+    locale.c
+    mailslot.c
+    module.c
+    path.c
+    pipe.c
+    process.c
+    profile.c
+    resource.c
+    sync.c
+    thread.c
+    time.c
+    timer.c
+    toolhelp.c
+    version.c
+    virtual.c
+    volume.c
+    testlist.c
+    resource.rc)
+
+add_executable(kernel32_winetest ${SOURCE})
+target_link_libraries(kernel32_winetest wine)
+set_module_type(kernel32_winetest win32cui)
+add_importlibs(kernel32_winetest user32 advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/localspl/CMakeLists.txt b/rostests/winetests/localspl/CMakeLists.txt
new file mode 100644 (file)
index 0000000..81b5048
--- /dev/null
@@ -0,0 +1,10 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+add_executable(localspl_winetest localmon.c testlist.c)
+target_link_libraries(localspl_winetest wine)
+set_module_type(localspl_winetest win32cui)
+add_importlibs(localspl_winetest advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/localui/CMakeLists.txt b/rostests/winetests/localui/CMakeLists.txt
new file mode 100644 (file)
index 0000000..3609ab3
--- /dev/null
@@ -0,0 +1,10 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+add_executable(localui_winetest localui.c testlist.c)
+target_link_libraries(localui_winetest wine)
+set_module_type(localui_winetest win32cui)
+add_importlibs(localui_winetest winspool msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/lz32/CMakeLists.txt b/rostests/winetests/lz32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fcfd2d3
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(lz32_winetest lzexpand_main.c testlist.c)
+target_link_libraries(lz32_winetest wine)
+set_module_type(lz32_winetest win32cui)
+add_importlibs(lz32_winetest lz32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/mapi32/CMakeLists.txt b/rostests/winetests/mapi32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e77f2ca
--- /dev/null
@@ -0,0 +1,15 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+list(APPEND SOURCE
+    imalloc.c
+    prop.c
+    util.c
+    testlist.c)
+
+add_executable(mapi32_winetest ${SOURCE})
+target_link_libraries(mapi32_winetest wine uuid)
+set_module_type(mapi32_winetest win32cui)
+add_importlibs(mapi32_winetest advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/mlang/CMakeLists.txt b/rostests/winetests/mlang/CMakeLists.txt
new file mode 100644 (file)
index 0000000..beddd20
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(mlang_winetest mlang.c testlist.c)
+target_link_libraries(mlang_winetest wine uuid)
+set_module_type(mlang_winetest win32cui)
+add_importlibs(mlang_winetest oleaut32 ole32 gdi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/msacm32/CMakeLists.txt b/rostests/winetests/msacm32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..377356c
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(msacm32_winetest msacm.c testlist.c)
+target_link_libraries(msacm32_winetest wine)
+set_module_type(msacm32_winetest win32cui)
+add_importlibs(msacm32_winetest msacm32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/mscms/CMakeLists.txt b/rostests/winetests/mscms/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d6f972f
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(mscms_winetest profile.c testlist.c)
+target_link_libraries(mscms_winetest wine)
+set_module_type(mscms_winetest win32cui)
+add_importlibs(mscms_winetest advapi32 msvcrt kernel32 ntdll)
diff --git a/rostests/winetests/msctf/CMakeLists.txt b/rostests/winetests/msctf/CMakeLists.txt
new file mode 100644 (file)
index 0000000..1ac0ad4
--- /dev/null
@@ -0,0 +1,9 @@
+
+add_definitions(
+    -D__ROS_LONG64__
+    -D_DLL -D__USE_CRTIMP)
+
+add_executable(msctf_winetest inputprocessor.c testlist.c)
+target_link_libraries(msctf_winetest wine)
+set_module_type(msctf_winetest win32cui)
+add_importlibs(msctf_winetest ole32 user32 msvcrt kernel32 ntdll)