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