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