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