mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-22 13:13:57 +00:00
25 lines
439 B
CMake
25 lines
439 B
CMake
file(GLOB_RECURSE SRC_FILES CONFIGURE_DEPENDS
|
|
*.cpp
|
|
*.hpp
|
|
*.rc
|
|
)
|
|
|
|
list(SORT SRC_FILES)
|
|
|
|
add_executable(debugger ${SRC_FILES})
|
|
|
|
momo_assign_source_group(${SRC_FILES})
|
|
|
|
if(NOT MOMO_ENABLE_CLANG_TIDY)
|
|
target_precompile_headers(debugger PRIVATE std_include.hpp)
|
|
endif()
|
|
|
|
target_link_libraries(debugger PRIVATE
|
|
windows-emulator
|
|
nlohmann_json
|
|
)
|
|
|
|
set_property(GLOBAL PROPERTY VS_STARTUP_PROJECT debugger)
|
|
|
|
momo_strip_target(debugger)
|