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