1 2add_definitions(-DWINETEST_USE_DBGSTR_LONGLONG) 3 4remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502) 5 6if(GCC AND GCC_VERSION VERSION_GREATER 7) 7 add_compile_flags("-Wno-format-overflow") 8endif() 9 10list(APPEND SOURCE 11 appbar.c 12 assoc.c 13 autocomplete.c 14 brsfolder.c 15 ebrowser.c 16 generated.c 17 progman_dde.c 18 recyclebin.c 19 shelldispatch.c 20 shelllink.c 21 shellole.c 22 shellpath.c 23 shfldr_special.c 24 shlexec.c 25 shlfileop.c 26 shlfolder.c 27 shlview.c 28 string.c 29 systray.c 30 precomp.h) 31 32add_executable(shell32_winetest 33 ${SOURCE} 34 testlist.c 35 rsrc.rc) 36 37target_link_libraries(shell32_winetest uuid) 38set_module_type(shell32_winetest win32cui) 39add_importlibs(shell32_winetest shell32 shlwapi ole32 oleaut32 user32 gdi32 advapi32 msvcrt kernel32) 40 41if(MSVC) 42 add_importlibs(shell32_winetest ntdll) 43endif() 44 45add_pch(shell32_winetest precomp.h SOURCE) 46add_rostests_file(TARGET shell32_winetest) 47