mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 07:23:33 +08:00
vscode add navio2 variant and native debug launch
This commit is contained in:
@@ -288,10 +288,3 @@ add_custom_target(list_vmd_make_targets
|
||||
COMMENT "List of acceptable '${PX4_BOARD}' <viewer_model_debugger> targets:"
|
||||
VERBATIM
|
||||
)
|
||||
|
||||
# vscode launch.json
|
||||
if(${PX4_BOARD_LABEL} MATCHES "replay")
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Debug/launch_replay.json.in ${PX4_SOURCE_DIR}/.vscode/launch.json COPYONLY)
|
||||
else()
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Debug/launch_sim.json.in ${PX4_SOURCE_DIR}/.vscode/launch.json COPYONLY)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user