2016-07-01 15:01:06 +02:00
|
|
|
include_directories(.)
|
|
|
|
|
2016-07-04 11:22:11 +02:00
|
|
|
set(SRCS
|
2016-08-07 19:08:48 +02:00
|
|
|
backend_x64/block_of_code.cpp
|
2016-07-04 11:22:11 +02:00
|
|
|
backend_x64/emit_x64.cpp
|
|
|
|
backend_x64/interface_x64.cpp
|
2016-08-05 19:54:19 +02:00
|
|
|
backend_x64/jitstate.cpp
|
2016-07-04 11:22:11 +02:00
|
|
|
backend_x64/reg_alloc.cpp
|
2016-08-06 21:41:00 +02:00
|
|
|
common/memory_pool.cpp
|
2016-07-04 11:22:11 +02:00
|
|
|
common/memory_util.cpp
|
|
|
|
common/string_util.cpp
|
|
|
|
common/x64/abi.cpp
|
|
|
|
common/x64/cpu_detect.cpp
|
|
|
|
common/x64/emitter.cpp
|
2016-08-08 23:20:28 +02:00
|
|
|
frontend/arm_types.cpp
|
2016-07-14 15:39:43 +02:00
|
|
|
frontend/disassembler/disassembler_arm.cpp
|
|
|
|
frontend/disassembler/disassembler_thumb.cpp
|
2016-07-04 11:22:11 +02:00
|
|
|
frontend/ir/ir.cpp
|
2016-07-14 15:39:43 +02:00
|
|
|
frontend/ir/ir_emitter.cpp
|
|
|
|
frontend/translate/translate.cpp
|
2016-07-21 22:48:45 +02:00
|
|
|
frontend/translate/translate_arm.cpp
|
2016-08-03 01:52:17 +02:00
|
|
|
frontend/translate/translate_arm/branch.cpp
|
2016-08-01 21:20:22 +02:00
|
|
|
frontend/translate/translate_arm/data_processing.cpp
|
|
|
|
frontend/translate/translate_arm/exception_generating.cpp
|
2016-08-02 22:59:33 +02:00
|
|
|
frontend/translate/translate_arm/extension.cpp
|
|
|
|
frontend/translate/translate_arm/load_store.cpp
|
|
|
|
frontend/translate/translate_arm/multiply.cpp
|
|
|
|
frontend/translate/translate_arm/parallel.cpp
|
2016-08-01 21:20:22 +02:00
|
|
|
frontend/translate/translate_arm/reversal.cpp
|
TranslateArm: Implement CLREX, LDREX, LDREXB, LDREXD, LDREXH, STREX, STREXB, STREXD, STREXH, SWP, SWPB
2016-08-09 23:48:20 +02:00
|
|
|
frontend/translate/translate_arm/synchronization.cpp
|
2016-08-06 18:21:29 +02:00
|
|
|
frontend/translate/translate_arm/vfp2.cpp
|
2016-07-21 22:48:45 +02:00
|
|
|
frontend/translate/translate_thumb.cpp
|
|
|
|
ir_opt/dead_code_elimination_pass.cpp
|
|
|
|
ir_opt/get_set_elimination_pass.cpp
|
|
|
|
ir_opt/verification_pass.cpp
|
2016-07-04 11:22:11 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
set(HEADERS
|
2016-08-07 19:08:48 +02:00
|
|
|
backend_x64/block_of_code.h
|
2016-07-04 11:22:11 +02:00
|
|
|
backend_x64/emit_x64.h
|
|
|
|
backend_x64/jitstate.h
|
|
|
|
backend_x64/reg_alloc.h
|
|
|
|
common/assert.h
|
|
|
|
common/bit_set.h
|
|
|
|
common/bit_util.h
|
|
|
|
common/code_block.h
|
|
|
|
common/common_types.h
|
2016-08-06 23:23:01 +02:00
|
|
|
common/intrusive_list.h
|
2016-08-06 21:41:00 +02:00
|
|
|
common/memory_pool.h
|
2016-07-04 11:22:11 +02:00
|
|
|
common/memory_util.h
|
|
|
|
common/mp.h
|
|
|
|
common/scope_exit.h
|
|
|
|
common/string_util.h
|
|
|
|
common/x64/abi.h
|
|
|
|
common/x64/cpu_detect.h
|
|
|
|
common/x64/emitter.h
|
|
|
|
frontend/arm_types.h
|
|
|
|
frontend/decoder/arm.h
|
|
|
|
frontend/decoder/decoder_detail.h
|
2016-07-12 12:09:34 +02:00
|
|
|
frontend/decoder/thumb16.h
|
2016-07-18 23:18:58 +02:00
|
|
|
frontend/decoder/thumb32.h
|
2016-07-14 15:39:43 +02:00
|
|
|
frontend/disassembler/disassembler.h
|
2016-07-04 11:22:11 +02:00
|
|
|
frontend/ir/ir.h
|
2016-07-14 15:39:43 +02:00
|
|
|
frontend/ir/ir_emitter.h
|
2016-07-04 11:22:11 +02:00
|
|
|
frontend/ir/opcodes.h
|
2016-07-14 15:39:43 +02:00
|
|
|
frontend/translate/translate.h
|
2016-08-01 21:20:22 +02:00
|
|
|
frontend/translate/translate_arm/translate_arm.h
|
2016-07-04 11:22:11 +02:00
|
|
|
interface/interface.h
|
2016-07-21 22:48:45 +02:00
|
|
|
ir_opt/passes.h
|
2016-07-04 11:22:11 +02:00
|
|
|
)
|
|
|
|
|
2016-07-18 11:28:17 +02:00
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
2016-07-04 11:22:11 +02:00
|
|
|
add_library(dynarmic STATIC ${SRCS} ${HEADERS})
|
|
|
|
set_target_properties(dynarmic PROPERTIES LINKER_LANGUAGE CXX)
|