Reactos
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 GUIDFromString.cpp
20 Int64ToString.cpp
21 IShellFolderViewCB.cpp
22 ItemIDList.cpp
23 OpenAs_RunDLL.cpp
24 PathIsEqualOrSubFolder.cpp
25 PathIsTemporary.cpp
26 PathMakeUniqueName.cpp
27 PathProcessCommand.cpp
28 PathResolve.cpp
29 RealShellExecuteEx.cpp
30 SHAppBarMessage.cpp
31 SHChangeNotify.cpp
32 SHCreateDataObject.cpp
33 SHCreateFileDataObject.cpp
34 SHCreateFileExtractIconW.cpp
35 SHGetComputerDisplayNameW.cpp
36 SHGetUnreadMailCountW.cpp
37 SHIsBadInterfacePtr.cpp
38 SHParseDisplayName.cpp
39 SHRestricted.cpp
40 SHShouldShowWizards.cpp
41 SHEnumerateUnreadMailAccountsW.cpp
42 She.cpp
43 ShellExec_RunDLL.cpp
44 ShellExecCmdLine.cpp
45 ShellExecuteEx.cpp
46 ShellExecuteW.cpp
47 ShellHook.cpp
48 ShellInfo.cpp
49 ShellState.cpp
50 SHGetAttributesFromDataObject.cpp
51 SHGetUserDisplayName.cpp
52 SHLimitInputEdit.cpp
53 SHSetUnreadMailCountW.cpp
54 StrRStr.cpp
55 menu.cpp
56 shelltest.cpp)
57
58list(APPEND PCH_SKIP_SOURCE
59 testlist.c)
60
61add_executable(shell32_apitest
62 ${SOURCE}
63 ${PCH_SKIP_SOURCE}
64 resource.rc
65 ${CMAKE_CURRENT_BINARY_DIR}/shell32_apitest.def)
66
67set_target_properties(shell32_apitest
68 PROPERTIES
69 ENABLE_EXPORTS TRUE
70 DEFINE_SYMBOL "")
71
72target_link_libraries(shell32_apitest wine uuid ${PSEH_LIB} cpprt atl_classes)
73set_module_type(shell32_apitest win32cui)
74target_compile_definitions(shell32_apitest PRIVATE UNICODE _UNICODE)
75add_importlibs(shell32_apitest user32 gdi32 shell32 shlwapi ole32 oleaut32 advapi32 shlwapi msvcrt kernel32 ntdll)
76add_pch(shell32_apitest shelltest.h "${PCH_SKIP_SOURCE}")
77add_rostests_file(TARGET shell32_apitest)
78
79# shell32_apitest_sub.exe
80add_executable(shell32_apitest_sub shell32_apitest_sub.cpp)
81target_link_libraries(shell32_apitest_sub cpprt atl_classes)
82set_module_type(shell32_apitest_sub win32gui UNICODE)
83add_importlibs(shell32_apitest_sub msvcrt kernel32 user32 shell32 shlwapi ole32)
84add_rostests_file(TARGET shell32_apitest_sub SUBDIR testdata)
85add_dependencies(shell32_apitest shell32_apitest_sub)