Skip to content
  • Brad King's avatar
    ENH: Add if(TARGET) command · fff812db
    Brad King authored
    It is useful to be able to test if a target has been created.  Often
    targets are created only inside conditions.  Rather than storing the
    result of the condition manually for testing by other parts of the
    project, it is much easier for the other parts to just test for the
    target's existence.  This will also be useful when find-modules start
    reporting results with IMPORTED targets and projects want to test if a
    certain target is available.
    fff812db