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