Vendor Teakra, make emulator own DSP RAM and add DSP RAM to fastmem (#806)
* DSP: Own DSP RAM and add it to fastmem * Vendor Teakra * Add MacOS support to fastmem * Fix MacOS fastmem paths * Fix iOS build
This commit is contained in:
68
third_party/teakra/src/CMakeLists.txt
vendored
Normal file
68
third_party/teakra/src/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
include(CreateDirectoryGroups)
|
||||
|
||||
add_library(teakra
|
||||
../include/teakra/disassembler.h
|
||||
../include/teakra/teakra.h
|
||||
../include/teakra/impl/register.h
|
||||
ahbm.cpp
|
||||
ahbm.h
|
||||
apbp.cpp
|
||||
apbp.h
|
||||
bit.h
|
||||
btdmp.cpp
|
||||
btdmp.h
|
||||
common_types.h
|
||||
crash.h
|
||||
decoder.h
|
||||
disassembler.cpp
|
||||
dma.cpp
|
||||
dma.h
|
||||
timer.cpp
|
||||
timer.h
|
||||
icu.h
|
||||
interpreter.h
|
||||
matcher.h
|
||||
memory_interface.cpp
|
||||
memory_interface.h
|
||||
mmio.cpp
|
||||
mmio.h
|
||||
operand.h
|
||||
parser.cpp
|
||||
processor.cpp
|
||||
processor.h
|
||||
shared_memory.h
|
||||
teakra.cpp
|
||||
test.h
|
||||
test_generator.cpp
|
||||
test_generator.h
|
||||
)
|
||||
|
||||
create_target_directory_groups(teakra)
|
||||
|
||||
target_link_libraries(teakra PRIVATE Threads::Threads)
|
||||
target_include_directories(teakra
|
||||
PUBLIC
|
||||
"$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>"
|
||||
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>"
|
||||
PRIVATE . ../include/teakra/impl)
|
||||
target_compile_options(teakra PRIVATE ${TEAKRA_CXX_FLAGS})
|
||||
|
||||
add_library(teakra_c
|
||||
../include/teakra/disassembler_c.h
|
||||
../include/teakra/teakra_c.h
|
||||
disassembler_c.cpp
|
||||
teakra_c.cpp
|
||||
)
|
||||
target_link_libraries(teakra_c PRIVATE teakra)
|
||||
|
||||
set_target_properties(teakra teakra_c PROPERTIES VERSION 0)
|
||||
|
||||
if (TEAKRA_BUILD_TOOLS)
|
||||
add_subdirectory(coff_reader)
|
||||
add_subdirectory(dsp1_reader)
|
||||
add_subdirectory(test_generator)
|
||||
add_subdirectory(test_verifier)
|
||||
add_subdirectory(mod_test_generator)
|
||||
add_subdirectory(step2_test_generator)
|
||||
add_subdirectory(makedsp1)
|
||||
endif()
|
||||
Reference in New Issue
Block a user