forked from Archive/PX4-Autopilot
cmake: NuttX generated vscode launch.json requires DEBUG_DEVICE found
This commit is contained in:
parent
1ee98417f8
commit
420ceb76fc
|
@ -268,6 +268,9 @@ if(NOT NUTTX_DIR MATCHES "external")
|
|||
)
|
||||
if(DEBUG_SVD_FILE_PATH)
|
||||
message(STATUS "Found SVD: ${DEBUG_SVD_FILE_PATH}")
|
||||
endif()
|
||||
|
||||
if(DEBUG_DEVICE)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Debug/launch.json.in ${PX4_SOURCE_DIR}/.vscode/launch.json @ONLY)
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue