1. 13 May, 2019 1 commit
  2. 24 Oct, 2017 2 commits
    • Deniz Bahadir's avatar
      Defer check for sources within a target until generation. · 4e7f6738
      Deniz Bahadir authored
      The `add_library` and `add_executable` commands can now be called with
      no source-files and won't generate a warning or error message, as long
      as source-files will be added later via the `target_sources` command.
      If during the generation step still no sources are associated with
      targets created by such calls a useful error message will be generated
      and generation fails.
      
      Targets of type `INTERFACE_LIBRARY`, `UTILITY` or `GLOBAL_TARGET` are
      excluded from this check because we do not need sources for these target
      types during generation.
      
      Fixes: #16872
      4e7f6738
    • Brad King's avatar
      Tests: Exclude bad RunCMake.add_executable case on multi-arch Xcode · 6e4e7c65
      Brad King authored
      The `NoSourcesButLinkObjects` case would not be expected to work under
      Xcode with multiple architectures even if the target objects were listed
      directly as sources.  Exclude it.  We already exclude similar cases in
      `RunCMake.add_library`.
      6e4e7c65
  3. 20 Sep, 2017 1 commit