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    CShellDesktop.cpp
11    CShellLink.cpp
12    CUserNotification.cpp
13    Control_RunDLLW.cpp
14    DragDrop.cpp
15    ExtractIconEx.cpp
16    FindExecutable.cpp
17    IShellFolderViewCB.cpp
18    OpenAs_RunDLL.cpp
19    PathResolve.cpp
20    SHAppBarMessage.cpp
21    SHChangeNotify.cpp
22    SHCreateDataObject.cpp
23    SHCreateFileExtractIconW.cpp
24    SHParseDisplayName.cpp
25    ShellExecCmdLine.cpp
26    ShellExecuteEx.cpp
27    ShellExecuteW.cpp
28    ShellHook.cpp
29    ShellState.cpp
30    SHGetAttributesFromDataObject.cpp
31    SHLimitInputEdit.cpp
32    menu.cpp
33    shelltest.cpp)
34
35list(APPEND PCH_SKIP_SOURCE
36    testlist.c)
37
38add_executable(shell32_apitest
39    ${SOURCE}
40    ${PCH_SKIP_SOURCE}
41    resource.rc
42    ${CMAKE_CURRENT_BINARY_DIR}/shell32_apitest.def)
43
44set_target_properties(shell32_apitest
45    PROPERTIES
46    ENABLE_EXPORTS TRUE
47    DEFINE_SYMBOL "")
48
49target_link_libraries(shell32_apitest wine uuid ${PSEH_LIB} cpprt atl_classes)
50set_module_type(shell32_apitest win32cui)
51add_importlibs(shell32_apitest user32 gdi32 shell32 ole32 oleaut32 advapi32 shlwapi msvcrt kernel32 ntdll)
52add_pch(shell32_apitest shelltest.h "${PCH_SKIP_SOURCE}")
53add_rostests_file(TARGET shell32_apitest)
54
55# shell32_apitest_sub.exe
56add_executable(shell32_apitest_sub shell32_apitest_sub.cpp)
57target_link_libraries(shell32_apitest_sub cpprt atl_classes)
58set_module_type(shell32_apitest_sub win32gui UNICODE)
59add_importlibs(shell32_apitest_sub msvcrt kernel32 user32 shell32 shlwapi ole32)
60add_rostests_file(TARGET shell32_apitest_sub SUBDIR testdata)
61