vscode update targets and gdb debugging

This commit is contained in:
Daniel Agar
2018-12-05 15:58:41 -05:00
parent 311c0941c9
commit fd8fe29ef3
7 changed files with 111 additions and 54 deletions
+3
View File
@@ -1,5 +1,6 @@
set(SITL_WORKING_DIR ${PX4_BINARY_DIR}/tmp)
file(MAKE_DIRECTORY ${SITL_WORKING_DIR})
file(MAKE_DIRECTORY ${SITL_WORKING_DIR}/rootfs)
# add a symlink to the logs dir to make it easier to find them
add_custom_command(OUTPUT ${PX4_BINARY_DIR}/logs
@@ -7,6 +8,8 @@ add_custom_command(OUTPUT ${PX4_BINARY_DIR}/logs
WORKING_DIRECTORY ${PX4_BINARY_DIR})
add_custom_target(logs_symlink DEPENDS ${PX4_BINARY_DIR}/logs)
add_dependencies(px4 logs_symlink)
add_custom_target(run_config
COMMAND Tools/sitl_run.sh
$<TARGET_FILE:px4>