Skip to content

Commit 2705260

Browse files
fabiobaltierijhedberg
authored andcommitted
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 <[email protected]>
1 parent ee5b5f3 commit 2705260

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/flash/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ foreach(target flash debug debugserver attach rtt)
188188

189189
if(WEST)
190190
add_custom_target(${target}
191+
cmake -E echo "WARNING: CMake ${target} target is deprecated, call west directly instead"
191192
# This script will print an error message and fail if <target> has added
192193
# dependencies. This is done using dedicated CMake script, as
193194
# `cmake -E {true|false}` is not available until CMake 3.16.

0 commit comments

Comments
 (0)