New GDB monitor command for Insight activation.
Created GdbHelpMonitorInfo.txt.in template for conditional commands
This commit is contained in:
@@ -40,6 +40,30 @@ target_sources(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Gdb/AvrGdb/CommandPackets/FlashDone.cpp
|
||||
)
|
||||
|
||||
if (NOT EXCLUDE_INSIGHT)
|
||||
target_sources(
|
||||
Bloom
|
||||
PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Gdb/CommandPackets/ActivateInsight.cpp
|
||||
)
|
||||
|
||||
set(
|
||||
ACTIVATE_INSIGHT_HELP_TEXT
|
||||
"\n insight Activates the Insight GUI.\n"
|
||||
)
|
||||
endif ()
|
||||
|
||||
configure_file(
|
||||
"./Gdb/Resources/GdbHelpMonitorInfo.txt.in"
|
||||
"${COMPILED_RESOURCES_BUILD_DIR}/Gdb/GdbHelpMonitorInfo.txt"
|
||||
@ONLY
|
||||
)
|
||||
|
||||
set_source_files_properties(
|
||||
"${COMPILED_RESOURCES_BUILD_DIR}/Gdb/GdbHelpMonitorInfo.txt"
|
||||
PROPERTIES QT_RESOURCE_ALIAS "/Gdb/Resources/GdbHelpMonitorInfo.txt"
|
||||
)
|
||||
|
||||
# DebugServer resources
|
||||
qt_add_resources(
|
||||
Bloom
|
||||
@@ -48,5 +72,5 @@ qt_add_resources(
|
||||
"/compiled/src/DebugServer"
|
||||
FILES
|
||||
# GDB RSP Server
|
||||
"./Gdb/Resources/GdbHelpMonitorInfo.txt"
|
||||
"${COMPILED_RESOURCES_BUILD_DIR}/Gdb/GdbHelpMonitorInfo.txt"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user