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