1
2remove_definitions(-D_WIN32_WINNT=0x502 -D_WIN32_IE=0x600)
3
4add_definitions(-DUSE_WINE_TODOS -DWINETEST_USE_DBGSTR_LONGLONG)
5
6list(APPEND SOURCE
7    animate.c
8    combo.c
9    datetime.c
10    dpa.c
11    edit.c
12    header.c
13    imagelist.c
14    ipaddress.c
15    listbox.c
16    listview.c
17    misc.c
18    monthcal.c
19    mru.c
20    pager.c
21    progress.c
22    propsheet.c
23    rebar.c
24    static.c
25    status.c
26    syslink.c
27    tab.c
28    taskdialog.c
29    toolbar.c
30    tooltips.c
31    trackbar.c
32    treeview.c
33    updown.c
34    precomp.h)
35
36add_executable(comctl32_winetest
37    ${SOURCE}
38    button.c
39    subclass.c
40    testlist.c
41    rsrc.rc)
42
43if(USE_CLANG_CL OR (NOT MSVC))
44    add_target_compile_flags(comctl32_winetest "-Wno-format")
45endif()
46
47set_module_type(comctl32_winetest win32cui)
48add_importlibs(comctl32_winetest comctl32 ole32 user32 gdi32 advapi32 msvcrt kernel32)
49
50if(MSVC)
51    add_importlibs(comctl32_winetest ntdll)
52endif()
53
54add_pch(comctl32_winetest precomp.h SOURCE)
55add_rostests_file(TARGET comctl32_winetest)
56