Tidy up CMakeLists.txt
This commit is contained in:
parent
2be0639308
commit
6a37072865
4 changed files with 15 additions and 7 deletions
|
@ -2,6 +2,5 @@ include_directories(.)
|
|||
|
||||
add_subdirectory(backend_x64)
|
||||
add_subdirectory(common)
|
||||
add_subdirectory(daggen)
|
||||
add_subdirectory(frontend_arm)
|
||||
add_subdirectory(tests)
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
set(SRCS
|
||||
logging/log.cpp
|
||||
memory_util.cpp
|
||||
string_util.cpp
|
||||
x64/abi.cpp
|
||||
x64/cpu_detect.cpp
|
||||
|
@ -6,14 +8,19 @@ set(SRCS
|
|||
)
|
||||
|
||||
set(HEADERS
|
||||
assert.h
|
||||
bit_set.h
|
||||
bit_util.h
|
||||
code_block.h
|
||||
common_types.h
|
||||
logging/log.h
|
||||
memory_util.h
|
||||
mp.h
|
||||
string_util.h
|
||||
x64/abi.h
|
||||
x64/cpu_detect.h
|
||||
x64/emitter.h
|
||||
assert.h logging/log.h logging/log.cpp bit_set.h memory_util.h memory_util.cpp code_block.h)
|
||||
)
|
||||
|
||||
source_group(common FILES ${SRCS} ${HEADERS})
|
||||
add_library(dynarmic_common STATIC ${SRCS} ${HEADERS})
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
set(SRCS
|
||||
arm_disassembler.cpp
|
||||
ir/ir.cpp
|
||||
ir_emitter.cpp
|
||||
)
|
||||
|
||||
set(HEADERS
|
||||
|
@ -9,12 +11,11 @@ set(HEADERS
|
|||
decoder/decoder_detail.h
|
||||
decoder/thumb1.h
|
||||
frontend_arm.h
|
||||
ir/ir.cpp
|
||||
ir/ir.h
|
||||
ir_emitter.cpp
|
||||
ir/opcodes.h
|
||||
ir_emitter.h
|
||||
translate_thumb.h
|
||||
ir/opcodes.h)
|
||||
)
|
||||
|
||||
source_group(frontend_arm FILES ${SRCS} ${HEADERS})
|
||||
add_library(dynarmic_frontend_arm STATIC ${SRCS} ${HEADERS})
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
set(SRCS
|
||||
arm/fuzz_thumb.cpp
|
||||
arm/test_arm_disassembler.cpp
|
||||
main.cpp
|
||||
arm/test_thumb_instructions.cpp
|
||||
arm/fuzz_thumb.cpp)
|
||||
main.cpp
|
||||
)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue