2017-11-26 12:39:27 +01:00
|
|
|
add_executable(dynarmic_tests
|
2018-01-06 22:15:25 +01:00
|
|
|
A32/fuzz_arm.cpp
|
|
|
|
A32/fuzz_thumb.cpp
|
|
|
|
A32/skyeye_interpreter/dyncom/arm_dyncom_dec.cpp
|
|
|
|
A32/skyeye_interpreter/dyncom/arm_dyncom_dec.h
|
|
|
|
A32/skyeye_interpreter/dyncom/arm_dyncom_interpreter.cpp
|
|
|
|
A32/skyeye_interpreter/dyncom/arm_dyncom_interpreter.h
|
|
|
|
A32/skyeye_interpreter/dyncom/arm_dyncom_run.h
|
|
|
|
A32/skyeye_interpreter/dyncom/arm_dyncom_thumb.cpp
|
|
|
|
A32/skyeye_interpreter/dyncom/arm_dyncom_thumb.h
|
|
|
|
A32/skyeye_interpreter/dyncom/arm_dyncom_trans.cpp
|
|
|
|
A32/skyeye_interpreter/dyncom/arm_dyncom_trans.h
|
|
|
|
A32/skyeye_interpreter/skyeye_common/arm_regformat.h
|
|
|
|
A32/skyeye_interpreter/skyeye_common/armstate.cpp
|
|
|
|
A32/skyeye_interpreter/skyeye_common/armstate.h
|
|
|
|
A32/skyeye_interpreter/skyeye_common/armsupp.cpp
|
|
|
|
A32/skyeye_interpreter/skyeye_common/armsupp.h
|
|
|
|
A32/skyeye_interpreter/skyeye_common/vfp/asm_vfp.h
|
|
|
|
A32/skyeye_interpreter/skyeye_common/vfp/vfp.cpp
|
|
|
|
A32/skyeye_interpreter/skyeye_common/vfp/vfp.h
|
|
|
|
A32/skyeye_interpreter/skyeye_common/vfp/vfp_helper.h
|
|
|
|
A32/skyeye_interpreter/skyeye_common/vfp/vfpdouble.cpp
|
|
|
|
A32/skyeye_interpreter/skyeye_common/vfp/vfpinstr.cpp
|
|
|
|
A32/skyeye_interpreter/skyeye_common/vfp/vfpsingle.cpp
|
|
|
|
A32/test_arm_disassembler.cpp
|
|
|
|
A32/test_thumb_instructions.cpp
|
2018-01-27 23:36:55 +01:00
|
|
|
A32/testenv.h
|
2018-01-06 22:15:25 +01:00
|
|
|
A64/a64.cpp
|
2018-01-13 19:04:19 +01:00
|
|
|
A64/inst_gen.cpp
|
|
|
|
A64/inst_gen.h
|
2018-01-13 19:03:34 +01:00
|
|
|
A64/testenv.h
|
2018-06-29 20:34:46 +02:00
|
|
|
fp/FPToFixed.cpp
|
2018-06-29 19:52:48 +02:00
|
|
|
fp/mantissa_util_tests.cpp
|
2018-06-27 14:52:20 +02:00
|
|
|
fp/unpacked_tests.cpp
|
2016-07-04 11:22:11 +02:00
|
|
|
main.cpp
|
2018-07-15 15:25:31 +02:00
|
|
|
mp.cpp
|
2017-11-26 12:39:27 +01:00
|
|
|
rand_int.h
|
|
|
|
)
|
2016-07-04 11:22:11 +02:00
|
|
|
|
2018-01-13 19:04:19 +01:00
|
|
|
if (DYNARMIC_TESTS_USE_UNICORN)
|
|
|
|
target_sources(dynarmic_tests PRIVATE
|
|
|
|
A64/fuzz_with_unicorn.cpp
|
|
|
|
A64/unicorn_emu/unicorn.cpp
|
|
|
|
A64/unicorn_emu/unicorn.h
|
|
|
|
A64/unicorn_emu/unicorn_load.cpp
|
2018-01-17 21:00:42 +01:00
|
|
|
A64/verify_unicorn.cpp
|
2018-01-13 19:04:19 +01:00
|
|
|
)
|
2018-04-18 16:20:12 +02:00
|
|
|
target_link_libraries(dynarmic_tests PRIVATE Unicorn::Unicorn)
|
2018-01-13 19:04:19 +01:00
|
|
|
endif()
|
|
|
|
|
2018-06-27 16:07:28 +02:00
|
|
|
add_executable(dynarmic_print_info
|
|
|
|
print_info.cpp
|
|
|
|
)
|
|
|
|
|
2016-08-25 19:22:08 +02:00
|
|
|
include(CreateDirectoryGroups)
|
2017-11-26 12:39:27 +01:00
|
|
|
create_target_directory_groups(dynarmic_tests)
|
2018-06-27 16:07:28 +02:00
|
|
|
create_target_directory_groups(dynarmic_print_info)
|
2016-08-25 19:22:08 +02:00
|
|
|
|
2018-01-28 00:42:30 +01:00
|
|
|
target_link_libraries(dynarmic_tests PRIVATE dynarmic boost catch fmt)
|
2016-12-19 01:41:21 +01:00
|
|
|
target_include_directories(dynarmic_tests PRIVATE . ../src)
|
2016-12-19 16:01:49 +01:00
|
|
|
target_compile_options(dynarmic_tests PRIVATE ${DYNARMIC_CXX_FLAGS})
|
2016-08-25 19:22:08 +02:00
|
|
|
|
2018-06-27 16:07:28 +02:00
|
|
|
target_link_libraries(dynarmic_print_info PRIVATE dynarmic boost catch fmt)
|
|
|
|
target_include_directories(dynarmic_print_info PRIVATE . ../src)
|
|
|
|
target_compile_options(dynarmic_print_info PRIVATE ${DYNARMIC_CXX_FLAGS})
|
|
|
|
|
2016-08-25 19:22:08 +02:00
|
|
|
add_test(dynarmic_tests dynarmic_tests)
|