2016-07-04 11:22:11 +02:00
|
|
|
set(SRCS
|
2016-07-12 10:12:56 +02:00
|
|
|
arm/fuzz_arm.cpp
|
2016-07-04 11:22:11 +02:00
|
|
|
arm/fuzz_thumb.cpp
|
|
|
|
arm/test_arm_disassembler.cpp
|
|
|
|
arm/test_thumb_instructions.cpp
|
|
|
|
main.cpp
|
2016-07-12 10:12:56 +02:00
|
|
|
rand_int.h
|
2016-07-04 11:22:11 +02:00
|
|
|
skyeye_interpreter/dyncom/arm_dyncom_dec.cpp
|
|
|
|
skyeye_interpreter/dyncom/arm_dyncom_interpreter.cpp
|
|
|
|
skyeye_interpreter/dyncom/arm_dyncom_thumb.cpp
|
2016-08-22 15:07:54 +02:00
|
|
|
skyeye_interpreter/dyncom/arm_dyncom_trans.cpp
|
2016-07-04 11:22:11 +02:00
|
|
|
skyeye_interpreter/skyeye_common/armstate.cpp
|
|
|
|
skyeye_interpreter/skyeye_common/armsupp.cpp
|
|
|
|
skyeye_interpreter/skyeye_common/vfp/vfp.cpp
|
|
|
|
skyeye_interpreter/skyeye_common/vfp/vfpdouble.cpp
|
|
|
|
skyeye_interpreter/skyeye_common/vfp/vfpinstr.cpp
|
|
|
|
skyeye_interpreter/skyeye_common/vfp/vfpsingle.cpp
|
2016-07-12 10:12:56 +02:00
|
|
|
)
|
2016-07-04 11:22:11 +02:00
|
|
|
|
|
|
|
set(HEADERS
|
|
|
|
skyeye_interpreter/dyncom/arm_dyncom_dec.h
|
|
|
|
skyeye_interpreter/dyncom/arm_dyncom_interpreter.h
|
|
|
|
skyeye_interpreter/dyncom/arm_dyncom_run.h
|
|
|
|
skyeye_interpreter/dyncom/arm_dyncom_thumb.h
|
2016-08-22 15:07:54 +02:00
|
|
|
skyeye_interpreter/dyncom/arm_dyncom_trans.h
|
2016-07-07 11:53:09 +02:00
|
|
|
skyeye_interpreter/skyeye_common/arm_regformat.h
|
2016-07-04 11:22:11 +02:00
|
|
|
skyeye_interpreter/skyeye_common/armstate.h
|
|
|
|
skyeye_interpreter/skyeye_common/armsupp.h
|
|
|
|
skyeye_interpreter/skyeye_common/vfp/asm_vfp.h
|
|
|
|
skyeye_interpreter/skyeye_common/vfp/vfp.h
|
|
|
|
skyeye_interpreter/skyeye_common/vfp/vfp_helper.h
|
|
|
|
)
|
|
|
|
|
2016-08-25 19:22:08 +02:00
|
|
|
include(CreateDirectoryGroups)
|
2016-07-18 11:28:17 +02:00
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
2016-08-25 19:22:08 +02:00
|
|
|
|
2016-07-04 11:22:11 +02:00
|
|
|
add_executable(dynarmic_tests ${SRCS})
|
2016-08-05 02:50:31 +02:00
|
|
|
target_link_libraries(dynarmic_tests dynarmic ${llvm_libs})
|
2016-07-04 11:22:11 +02:00
|
|
|
set_target_properties(dynarmic_tests PROPERTIES LINKER_LANGUAGE CXX)
|
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
|
|
|
|
|
|
|
add_test(dynarmic_tests dynarmic_tests)
|