2011-01-03 11:24:54 +00:00
|
|
|
|
|
|
|
add_executable(pseh2_test psehtest.c psehtest2.c)
|
|
|
|
target_link_libraries(pseh2_test wine ${PSEH_LIB})
|
|
|
|
set_module_type(pseh2_test win32cui)
|
|
|
|
add_importlibs(pseh2_test msvcrt kernel32 ntdll)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET pseh2_test)
|
2011-09-04 17:33:34 +00:00
|
|
|
|
|
|
|
if(NOT MSVC)
|
2020-04-16 12:59:38 +00:00
|
|
|
target_compile_options(pseh2_test PRIVATE "-Wno-format")
|
2011-09-04 17:33:34 +00:00
|
|
|
endif()
|
2014-04-05 14:24:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
add_executable(pseh2_test_cpp psehtest_cpp.cpp psehtest2.c)
|
|
|
|
target_link_libraries(pseh2_test_cpp wine ${PSEH_LIB})
|
|
|
|
set_module_type(pseh2_test_cpp win32cui)
|
|
|
|
add_importlibs(pseh2_test_cpp msvcrt kernel32 ntdll)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET pseh2_test_cpp)
|
2014-04-05 14:24:16 +00:00
|
|
|
|
|
|
|
if(NOT MSVC)
|
2020-04-16 12:59:38 +00:00
|
|
|
target_compile_options(pseh2_test_cpp PRIVATE "-Wno-format")
|
2014-04-05 14:24:16 +00:00
|
|
|
endif()
|