2016-07-01 14:01:06 +01:00
|
|
|
include_directories(.)
|
|
|
|
|
2016-07-04 10:22:11 +01:00
|
|
|
set(SRCS
|
|
|
|
backend_x64/emit_x64.cpp
|
|
|
|
backend_x64/interface_x64.cpp
|
|
|
|
backend_x64/reg_alloc.cpp
|
|
|
|
backend_x64/routines.cpp
|
|
|
|
common/memory_util.cpp
|
|
|
|
common/string_util.cpp
|
|
|
|
common/x64/abi.cpp
|
|
|
|
common/x64/cpu_detect.cpp
|
|
|
|
common/x64/emitter.cpp
|
2016-07-14 14:39:43 +01:00
|
|
|
frontend/disassembler/disassembler_arm.cpp
|
|
|
|
frontend/disassembler/disassembler_thumb.cpp
|
2016-07-04 10:22:11 +01:00
|
|
|
frontend/ir/ir.cpp
|
2016-07-14 14:39:43 +01:00
|
|
|
frontend/ir/ir_emitter.cpp
|
|
|
|
frontend/translate/translate.cpp
|
2016-07-04 10:22:11 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
set(HEADERS
|
|
|
|
backend_x64/emit_x64.h
|
|
|
|
backend_x64/jitstate.h
|
|
|
|
backend_x64/reg_alloc.h
|
|
|
|
backend_x64/routines.h
|
|
|
|
common/assert.h
|
|
|
|
common/bit_set.h
|
|
|
|
common/bit_util.h
|
|
|
|
common/code_block.h
|
|
|
|
common/common_types.h
|
|
|
|
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 11:09:34 +01:00
|
|
|
frontend/decoder/thumb16.h
|
2016-07-14 14:39:43 +01:00
|
|
|
frontend/disassembler/disassembler.h
|
2016-07-04 10:22:11 +01:00
|
|
|
frontend/ir/ir.h
|
2016-07-14 14:39:43 +01:00
|
|
|
frontend/ir/ir_emitter.h
|
2016-07-04 10:22:11 +01:00
|
|
|
frontend/ir/opcodes.h
|
2016-07-14 14:39:43 +01:00
|
|
|
frontend/translate/translate.h
|
|
|
|
frontend/translate/translate_arm.cpp
|
|
|
|
frontend/translate/translate_thumb.cpp
|
2016-07-04 10:22:11 +01:00
|
|
|
interface/interface.h
|
|
|
|
)
|
|
|
|
|
2016-07-18 10:28:17 +01:00
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
2016-07-04 10:22:11 +01:00
|
|
|
add_library(dynarmic STATIC ${SRCS} ${HEADERS})
|
|
|
|
set_target_properties(dynarmic PROPERTIES LINKER_LANGUAGE CXX)
|