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)
|
2011-11-24 14:07:44 +00:00
|
|
|
add_target_compile_flags(pseh2_test "-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)
|
|
|
|
add_target_compile_flags(pseh2_test_cpp "-Wno-format")
|
|
|
|
endif()
|