mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 06:08:23 +00:00
22 lines
576 B
CMake
22 lines
576 B
CMake
|
|
if (MSVC OR ARCH STREQUAL "i386")
|
|
#FIXME _setjmp definitions in CRT headers is wrong
|
|
add_subdirectory(ms)
|
|
list(APPEND SOURCE ms_seh.c)
|
|
endif()
|
|
|
|
list(APPEND SOURCE
|
|
pseh.c
|
|
pseh_cpp.cpp
|
|
psehtest2.c
|
|
testlist.c)
|
|
|
|
add_executable(compiler_apitest ${SOURCE})
|
|
if (MSVC OR ARCH STREQUAL "i386")
|
|
target_link_libraries(compiler_apitest ms_seh_test)
|
|
endif()
|
|
target_link_libraries(compiler_apitest wine ${PSEH_LIB})
|
|
set_module_type(compiler_apitest win32cui)
|
|
add_importlibs(compiler_apitest msvcrt kernel32 ntdll)
|
|
add_rostests_file(TARGET compiler_apitest)
|