47d677d15330b62d918e8ad2d847bae9ea836066
[reactos.git] / modules / rostests / winetests / comctl32 / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502 -D_WIN32_IE=0x600)
3
4 add_definitions(-DUSE_WINE_TODOS)
5
6 list(APPEND SOURCE
7 animate.c
8 button.c
9 comboex.c
10 datetime.c
11 dpa.c
12 header.c
13 imagelist.c
14 ipaddress.c
15 listview.c
16 misc.c
17 monthcal.c
18 mru.c
19 pager.c
20 progress.c
21 propsheet.c
22 rebar.c
23 status.c
24 subclass.c
25 syslink.c
26 tab.c
27 taskdialog.c
28 toolbar.c
29 tooltips.c
30 trackbar.c
31 treeview.c
32 updown.c
33 testlist.c)
34
35 add_executable(comctl32_winetest ${SOURCE} rsrc.rc)
36 set_module_type(comctl32_winetest win32cui)
37 add_importlibs(comctl32_winetest comctl32 ole32 user32 gdi32 advapi32 msvcrt kernel32)
38 add_rostests_file(TARGET comctl32_winetest)
39
40 if(NOT MSVC)
41 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
42 #add_target_compile_flags(comctl32_winetest "-Wno-format")
43 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-format")
44 endif()