Skip to content

Draft: add_custom_command: add DEPENDS_ORDER_ONLY option


TODO:

  • test cases
  • enhance docs along the lines of #25354
  • enhance docs of OPTIMIZE_DEPENDENCIES
  • investigate (possible) interactions between CMP0154 and OPTIMIZE_DEPENDENCIES

The latter items may become separate issues/MRs if further work is discovered.

Cc: @abdelmaged @martin.duffy @kyle.edwards

Merge request reports