mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
6fd6e9c306
These tests come with a VS solution, because that is the only way to test against a known good system, as the required runtime functions (like _ftol) are statically linked from the VS runtime library.
22 lines
592 B
CMake
22 lines
592 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
|
|
floatconv.c
|
|
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)
|