1
2add_definitions(
3    -DUSE_WINE_TODOS
4    -DWINETEST_USE_DBGSTR_LONGLONG)
5
6list(APPEND SOURCE
7    assoc.c
8    clist.c
9    clsid.c
10    generated.c
11    istream.c
12    ordinal.c
13    path.c
14    shreg.c
15    string.c
16    thread.c
17    url.c)
18
19list(APPEND PCH_SKIP_SOURCE
20    testlist.c)
21
22add_executable(shlwapi_winetest
23    ${SOURCE}
24    ${PCH_SKIP_SOURCE})
25
26target_link_libraries(shlwapi_winetest uuid)
27set_module_type(shlwapi_winetest win32cui)
28add_importlibs(shlwapi_winetest shlwapi shell32 mlang oleaut32 ole32 user32 advapi32 msvcrt kernel32)
29
30if(MSVC)
31    add_importlibs(shlwapi_winetest ntdll)
32endif()
33
34add_pch(shlwapi_winetest precomp.h "${PCH_SKIP_SOURCE}")
35add_rostests_file(TARGET shlwapi_winetest)
36