mirror of
https://github.com/momo5502/emulator.git
synced 2026-02-01 00:41:02 +00:00
20 lines
333 B
CMake
20 lines
333 B
CMake
file(GLOB_RECURSE SRC_FILES CONFIGURE_DEPENDS
|
|
*.cpp
|
|
*.hpp
|
|
*.rc
|
|
)
|
|
|
|
list(SORT SRC_FILES)
|
|
|
|
add_library(gdb-stub ${SRC_FILES})
|
|
|
|
momo_assign_source_group(${SRC_FILES})
|
|
|
|
target_link_libraries(gdb-stub PUBLIC
|
|
emulator-common
|
|
)
|
|
|
|
target_include_directories(gdb-stub INTERFACE "${CMAKE_CURRENT_LIST_DIR}")
|
|
|
|
momo_strip_target(gdb-stub)
|