How to add custom_target on NCS2.8.0

I work on NCS 2.8.0

I add follow to CMakeLists.txt

add_custom_target(
    my_release_file
    echo AAAA BBBB CCCC
    DEPENDS all
)
when run "west build -b nrf54l15dk/nrf54l15/cpuapp -t my_release_file"
error occured.
Itry it on NCS 2.6.0, it's success.
How to add custom_target on NCS2.8.0?
Parents Reply Children
No Data
Related