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