mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-17 15:55:52 +00:00
The 'run' target was missing it's dependency on the executable and thereby behaving incorrectly. This fixes #10639 . Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
8 lines
195 B
CMake
8 lines
195 B
CMake
add_custom_target(run
|
|
COMMAND
|
|
${APPLICATION_BINARY_DIR}/zephyr/${KERNEL_EXE_NAME}
|
|
DEPENDS ${logical_target_for_zephyr_elf}
|
|
WORKING_DIRECTORY ${APPLICATION_BINARY_DIR}
|
|
USES_TERMINAL
|
|
)
|