1. 26 Oct, 2018 2 commits
    • Ben Boeckel's avatar
      cmTargetPropCommandBase: check keywords after parsing · 4babc905
      Ben Boeckel authored
      The following was disallowed:
         add_library(iface INTERFACE)
         target_link_libraries(iface PUBLIC)
      just due to the mention of the `PUBLIC` keyword. Instead, only error if
      there are actually `PUBLIC` dependencies specified (and analogously for
      other restrictions).
      Update tests to expect this new behavior.
    • Ben Boeckel's avatar
      Tests: add tests for empty-value keyword arguments in target_* · 4201a11c
      Ben Boeckel authored
      Not all of these commands accept non-compilable (i.e., IMPORTED)
      targets, so those calls are currently just commented out. If they ever
      do start to accept them, the tests should be enabled.