1. 05 Nov, 2019 1 commit
    • Brad King's avatar
      CTest: Rename PROCESSES test property to RESOURCE_GROUPS · af9ed543
      Brad King authored
      The `PROCESSES` test property name added for CMake 3.16 is too close to
      the existing `PROCESSORS` test property.  Furthermore, the property in
      principle specifies groups of resources organized in a way that is
      meaningful to a particular test.  The groups may often correspond to
      processes but they could have other meanings.  Since the property name
      `PROCESSES` has not been in a final 3.16 release yet, simply rename it
      Fixes: #19914
  2. 02 Oct, 2019 6 commits
  3. 01 Oct, 2019 1 commit
  4. 20 Sep, 2019 2 commits
    • Marc Chevrier's avatar
      cmstd: Modernize CMake system headers · c688b401
      Marc Chevrier authored
      Provide a standardized way to handle the C++ "standard" headers
      customized to be used with current CMake C++ standard constraints.
      Offer under directory `cm` headers which can be used as direct
      replacements of the standard ones.  For example:
          #include <cm/string_view>
      can be used safely for CMake development in place of the `<string_view>`
      standard header.
      Fixes: #19491
    • wahikihiki's avatar
      cmCTest*Command: Port to cmArgumentParser · 0aa8a2ab
      wahikihiki authored
  5. 16 Sep, 2019 1 commit
  6. 10 Sep, 2019 1 commit
    • wahikihiki's avatar
      clang-tidy: modernize-use-auto · d25a5a7e
      wahikihiki authored
      Set the MinTypeNameLength option to an impossibly high value in order
      to limit the diagnostics to iterators.  Leave new expressions and cast
      expressions for later.
  7. 09 Sep, 2019 1 commit
  8. 04 Sep, 2019 1 commit
  9. 03 Sep, 2019 3 commits
  10. 26 Aug, 2019 3 commits
  11. 23 Aug, 2019 2 commits
  12. 22 Aug, 2019 4 commits
    • Zack Galbreath's avatar
      ctest_build: ignore ANSI color · 20792679
      Zack Galbreath authored
      Ignore ANSI color when scraping logs for errors and warnings
    • Brad King's avatar
    • Zack Galbreath's avatar
      ctest: rename TRACK to GROUP · 2a71a039
      Zack Galbreath authored
      Update command-line options, script variables, and documentation to use
      the term "group" instead of "track". The old terms are still available
      for now, but they are now undocumented.
      This makes our terminology more consistent with CDash. The goal of this
      change is to make it more clear to our users how CTest and CDash interact
      with each other.
    • Sebastian Holtermann's avatar
      Source sweep: Use cmStrCat for string concatenation · 9b334397
      Sebastian Holtermann authored
      This patch is generated by a python script that uses regular expressions to
      search for string concatenation patterns of the kind
      std::string str = <ARG0>;
      str += <ARG1>;
      str += <ARG2>;
      and replaces them with a single `cmStrCat` call
      std::string str = cmStrCat(<ARG0>, <ARG1>, <ARG2>, ...);
      If any `<ARGX>` is itself a concatenated string of the kind
      a + b + c + ...;
      then `<ARGX>` is split into multiple arguments for the `cmStrCat` call.
      If there's a sequence of literals in the `<ARGX>`, then all literals in the
      sequence are concatenated and merged into a single literal argument for
      the `cmStrCat` call.
      Single character strings are converted to single char arguments for
      the `cmStrCat` call.
      `std::to_string(...)` wrappings are removed from `cmStrCat` arguments,
      because it supports numeric types as well as string types.
      `arg.substr(x)` arguments to `cmStrCat` are replaced with
  13. 19 Aug, 2019 1 commit
  14. 18 Aug, 2019 1 commit
  15. 17 Aug, 2019 1 commit
  16. 14 Aug, 2019 1 commit
  17. 10 Aug, 2019 1 commit
    • Sebastian Holtermann's avatar
      cmStringAlgorithms: Add cmStrToLong and cmStrToULong · 935fbe0b
      Sebastian Holtermann authored
      This adds the following functions to cmStringAlgorithms:
      - `cmStrToLong`: moved from `cmSystemTools::StringToLong`
      - `cmStrToULong`: moved from `cmSystemTools::StringToULong`
      Overloads of the given functions for `std::string` are added as well.
  18. 09 Aug, 2019 1 commit
  19. 05 Aug, 2019 1 commit
  20. 01 Aug, 2019 1 commit
  21. 30 Jul, 2019 2 commits
  22. 29 Jul, 2019 1 commit
  23. 24 Jul, 2019 3 commits
    • Ben Boeckel's avatar
    • Sebastian Holtermann's avatar
      cmMakefile: Let AddDefinition accept a value as cm::string_view · e91bfe44
      Sebastian Holtermann authored
      This changes `cmMakefile::AddDefinition` to take a `cm::string_view` as value
      argument instead of a `const char *`.
      Benefits are:
      - `std::string` can be passed to `cmMakefile::AddDefinition` directly without
        the `c_str()` plus string length recomputation fallback.
      - Lengths of literals passed to `cmMakefile::AddDefinition` can be computed at
        compile time.
      In various sources uses of `cmMakefile::AddDefinition` are adapted to avoid
      `std::string::c_str` calls and the `std::string` is passed directly.
      Uses of `cmMakefile::AddDefinition`, where a `nullptr` `const char*` might
      be passed to `cmMakefile::AddDefinition` are extended with `nullptr` checks.
    • Sebastian Holtermann's avatar
      cmMakefile: Simplify and rename AddDefinitionBool · f2ba968e
      Sebastian Holtermann authored
      This simplifies the `cmMakefile::AddDefinition` method with bool value
      overload to call the string based `cmMakefile::AddDefinition` method
      with either an "ON" or "OFF" string.
      Also the method is renamed to `cmMakefile::AddDefinitionBool`