1 2add_subdirectory(redirptest) 3 4add_message_headers(ANSI FormatMessage.mc) 5 6list(APPEND SOURCE 7 Console.c 8 CreateProcess.c 9 DefaultActCtx.c 10 DeviceIoControl.c 11 dosdev.c 12 FindActCtxSectionStringW.c 13 FindFiles.c 14 FormatMessage.c 15 GetComputerNameEx.c 16 GetCurrentDirectory.c 17 GetDriveType.c 18 GetModuleFileName.c 19 GetVolumeInformation.c 20 interlck.c 21 IsDBCSLeadByteEx.c 22 LoadLibraryExW.c 23 lstrcpynW.c 24 lstrlen.c 25 Mailslot.c 26 MultiByteToWideChar.c 27 PrivMoveFileIdentityW.c 28 SetConsoleWindowInfo.c 29 SetCurrentDirectory.c 30 SetUnhandledExceptionFilter.c 31 TerminateProcess.c 32 TunnelCache.c 33 WideCharToMultiByte.c 34 precomp.h) 35 36add_executable(kernel32_apitest ${SOURCE} testlist.c kernel32_apitest.rc) 37target_link_libraries(kernel32_apitest wine ${PSEH_LIB}) 38set_module_type(kernel32_apitest win32cui) 39add_delay_importlibs(kernel32_apitest advapi32 shlwapi) 40add_importlibs(kernel32_apitest msvcrt kernel32 ntdll) 41add_dependencies(kernel32_apitest FormatMessage) 42add_pch(kernel32_apitest precomp.h SOURCE) 43add_rostests_file(TARGET kernel32_apitest) 44 45list(APPEND MANIFEST_FILES 46 classtest.manifest 47 classtest2.manifest 48 comctl32dep.manifest 49 dep1.manifest 50 deptest.manifest) 51 52foreach(item ${MANIFEST_FILES}) 53 add_rostests_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/${item}") 54endforeach(item) 55