mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-25 22:51:03 +00:00
23 lines
437 B
CMake
23 lines
437 B
CMake
file(GLOB_RECURSE SRC_FILES CONFIGURE_DEPENDS
|
|
*.cpp
|
|
*.hpp
|
|
*.rc
|
|
)
|
|
|
|
list(SORT SRC_FILES)
|
|
|
|
add_library(backend-selection ${SRC_FILES})
|
|
|
|
momo_assign_source_group(${SRC_FILES})
|
|
|
|
target_include_directories(backend-selection INTERFACE "${CMAKE_CURRENT_LIST_DIR}")
|
|
|
|
target_link_libraries(backend-selection PRIVATE
|
|
unicorn-emulator
|
|
)
|
|
|
|
if (MOMO_ENABLE_RUST)
|
|
target_link_libraries(backend-selection PRIVATE
|
|
icicle-emulator
|
|
)
|
|
endif() |