cmake: deprecate the flash debug debugserver attach rtt targets
These call west right now, tell the user to call west directly instead. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
committed by
Johan Hedberg
parent
ee5b5f30fe
commit
2705260b27
@@ -188,6 +188,7 @@ foreach(target flash debug debugserver attach rtt)
|
||||
|
||||
if(WEST)
|
||||
add_custom_target(${target}
|
||||
cmake -E echo "WARNING: CMake ${target} target is deprecated, call west directly instead"
|
||||
# This script will print an error message and fail if <target> has added
|
||||
# dependencies. This is done using dedicated CMake script, as
|
||||
# `cmake -E {true|false}` is not available until CMake 3.16.
|
||||
|
||||
Reference in New Issue
Block a user