1 2if (NOT (GCC AND (ARCH STREQUAL "amd64"))) 3 #FIXME _setjmp definitions in CRT headers is wrong 4 add_subdirectory(ms) 5 list(APPEND SOURCE ms_seh.c) 6endif() 7 8list(APPEND SOURCE 9 pseh.c 10 pseh_cpp.cpp 11 psehtest2.c 12 testlist.c) 13 14add_executable(compiler_apitest ${SOURCE}) 15if (NOT (GCC AND (ARCH STREQUAL "amd64"))) 16 target_link_libraries(compiler_apitest ms_seh_test) 17endif() 18target_link_libraries(compiler_apitest wine ${PSEH_LIB}) 19set_module_type(compiler_apitest win32cui) 20add_importlibs(compiler_apitest msvcrt kernel32 ntdll) 21add_rostests_file(TARGET compiler_apitest) 22