2010-12-07 11:40:10 +00:00
|
|
|
|
2017-10-19 11:36:19 +00:00
|
|
|
add_definitions(-DWINETEST_USE_DBGSTR_LONGLONG)
|
|
|
|
|
2011-09-03 19:19:57 +00:00
|
|
|
remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
|
2010-12-07 11:40:10 +00:00
|
|
|
|
2019-08-17 19:56:40 +00:00
|
|
|
if(GCC AND GCC_VERSION VERSION_GREATER 7)
|
|
|
|
add_compile_flags("-Wno-format-overflow")
|
|
|
|
endif()
|
|
|
|
|
2010-12-07 11:40:10 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
appbar.c
|
2012-05-13 18:14:09 +00:00
|
|
|
assoc.c
|
2010-12-07 11:40:10 +00:00
|
|
|
autocomplete.c
|
2011-09-23 23:14:50 +00:00
|
|
|
brsfolder.c
|
|
|
|
ebrowser.c
|
2016-10-20 21:44:12 +00:00
|
|
|
generated.c
|
2013-06-29 17:35:05 +00:00
|
|
|
progman_dde.c
|
2011-09-23 23:14:50 +00:00
|
|
|
recyclebin.c
|
|
|
|
shelldispatch.c
|
2010-12-07 11:40:10 +00:00
|
|
|
shelllink.c
|
2011-09-23 23:14:50 +00:00
|
|
|
shellole.c
|
2010-12-07 11:40:10 +00:00
|
|
|
shellpath.c
|
2011-09-23 23:14:50 +00:00
|
|
|
shfldr_special.c
|
2010-12-07 11:40:10 +00:00
|
|
|
shlexec.c
|
|
|
|
shlfileop.c
|
|
|
|
shlfolder.c
|
|
|
|
shlview.c
|
|
|
|
string.c
|
|
|
|
systray.c
|
2017-12-20 12:29:32 +00:00
|
|
|
precomp.h)
|
|
|
|
|
|
|
|
add_executable(shell32_winetest
|
|
|
|
${SOURCE}
|
2010-12-07 11:40:10 +00:00
|
|
|
testlist.c
|
|
|
|
rsrc.rc)
|
|
|
|
|
2014-04-20 13:19:24 +00:00
|
|
|
target_link_libraries(shell32_winetest uuid)
|
2010-12-07 11:40:10 +00:00
|
|
|
set_module_type(shell32_winetest win32cui)
|
2018-04-03 12:47:46 +00:00
|
|
|
add_importlibs(shell32_winetest shell32 shlwapi ole32 oleaut32 user32 gdi32 advapi32 msvcrt kernel32)
|
2014-10-17 23:29:24 +00:00
|
|
|
|
2014-04-20 13:19:24 +00:00
|
|
|
if(MSVC)
|
|
|
|
add_importlibs(shell32_winetest ntdll)
|
|
|
|
endif()
|
2014-10-17 23:29:24 +00:00
|
|
|
|
2017-12-20 12:29:32 +00:00
|
|
|
add_pch(shell32_winetest precomp.h SOURCE)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET shell32_winetest)
|