1 2remove_definitions(-DWINVER=0x502 -D_WIN32_WINNT=0x502) 3add_definitions(-DWINVER=0x600 -D_WIN32_WINNT=0x600) 4 5list(APPEND SOURCE 6 broadcast.c 7 class.c 8 clipboard.c 9 combo.c 10 cursoricon.c 11 dce.c 12 dde.c 13 dialog.c 14 edit.c 15 generated.c 16 input.c 17 listbox.c 18 menu.c 19 monitor.c 20 msg.c 21 resource.c 22 scroll.c 23 static.c 24 sysparams.c 25 text.c 26 uitools.c 27 win.c 28 winstation.c 29 wsprintf.c 30 precomp.h) 31 32add_executable(user32_winetest 33 ${SOURCE} 34 testlist.c 35 resource.rc) 36 37add_pch(user32_winetest precomp.h SOURCE) 38# some tests need to be run from an app compiled as GUI 39set_module_type(user32_winetest win32gui) 40add_importlibs(user32_winetest user32 gdi32 advapi32 msvcrt kernel32) 41add_rostests_file(TARGET user32_winetest) 42