1
2spec2def(shell32_apitest.exe shell32_apitest.spec)
3
4list(APPEND SOURCE
5    AddCommas.cpp
6    CFSFolder.cpp
7    CheckEscapes.cpp
8    CIDLData.cpp
9    CMyComputer.cpp
10    CommandLineToArgvW.cpp
11    CShellDesktop.cpp
12    CShellLink.cpp
13    CUserNotification.cpp
14    Control_RunDLLW.cpp
15    DragDrop.cpp
16    ExtractIconEx.cpp
17    FindExecutable.cpp
18    GetDisplayNameOf.cpp
19    Int64ToString.cpp
20    IShellFolderViewCB.cpp
21    OpenAs_RunDLL.cpp
22    PathIsEqualOrSubFolder.cpp
23    PathIsTemporary.cpp
24    PathResolve.cpp
25    SHAppBarMessage.cpp
26    SHChangeNotify.cpp
27    SHCreateDataObject.cpp
28    SHCreateFileDataObject.cpp
29    SHCreateFileExtractIconW.cpp
30    SHParseDisplayName.cpp
31    She.cpp
32    ShellExecCmdLine.cpp
33    ShellExecuteEx.cpp
34    ShellExecuteW.cpp
35    ShellHook.cpp
36    ShellState.cpp
37    SHGetAttributesFromDataObject.cpp
38    SHLimitInputEdit.cpp
39    menu.cpp
40    shelltest.cpp)
41
42list(APPEND PCH_SKIP_SOURCE
43    testlist.c)
44
45add_executable(shell32_apitest
46    ${SOURCE}
47    ${PCH_SKIP_SOURCE}
48    resource.rc
49    ${CMAKE_CURRENT_BINARY_DIR}/shell32_apitest.def)
50
51set_target_properties(shell32_apitest
52    PROPERTIES
53    ENABLE_EXPORTS TRUE
54    DEFINE_SYMBOL "")
55
56target_link_libraries(shell32_apitest wine uuid ${PSEH_LIB} cpprt atl_classes)
57set_module_type(shell32_apitest win32cui)
58add_importlibs(shell32_apitest user32 gdi32 shell32 shlwapi ole32 oleaut32 advapi32 shlwapi msvcrt kernel32 ntdll)
59add_pch(shell32_apitest shelltest.h "${PCH_SKIP_SOURCE}")
60add_rostests_file(TARGET shell32_apitest)
61
62# shell32_apitest_sub.exe
63add_executable(shell32_apitest_sub shell32_apitest_sub.cpp)
64target_link_libraries(shell32_apitest_sub cpprt atl_classes)
65set_module_type(shell32_apitest_sub win32gui UNICODE)
66add_importlibs(shell32_apitest_sub msvcrt kernel32 user32 shell32 shlwapi ole32)
67add_rostests_file(TARGET shell32_apitest_sub SUBDIR testdata)
68