Skip to content

add_custom_command uses wrong arguments #235

Closed
@kilograham

Description

@kilograham

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions