e.g. ``` add_custom_command(TARGET xip_ram_perms COMMAND ${CMAKE_COMMAND} -E copy ${XIP_RAM_PERMS_ELF} ${CMAKE_BINARY_DIR}/xip_ram_perms.elf DEPENDS xip_ram_perms ) ``` Newest CMake now complains about this: 1. you must now specify `POST_BUILD` explicitly 2. `DEPENDS` was always incorrect I guess
Activity
will-v-pi commentedon May 28, 2025
This is fixed in picotool in #207 - I think similar fixes are also needed in the SDK tools/CMakeLists.txt
kilograham commentedon May 28, 2025
could you make a PR for SDK too
Remove DEPENDS argument from add_custom_command(TARGET functions
Remove DEPENDS argument from add_custom_command(TARGET functions
Remove DEPENDS argument from add_custom_command(TARGET functions (#2489)
will-v-pi commentedon May 30, 2025
SDK PR merged into develop too