1. 23 May, 2019 1 commit
  2. 15 May, 2019 1 commit
  3. 21 Feb, 2019 1 commit
  4. 07 Feb, 2019 2 commits
  5. 01 Feb, 2019 1 commit
  6. 25 Jan, 2019 1 commit
    • wahikihiki's avatar
      clang-tidy: Use `= default` · 55671b41
      wahikihiki authored
      Suppress some cases in `Source/cmGeneratorExpressionNode.cxx` and
      `Source/cmUVHandlePtr.h` where a few older compilers require a
      user-defined default constructor (with `{}`).
  7. 15 Dec, 2018 1 commit
  8. 18 Sep, 2018 1 commit
  9. 07 Aug, 2018 1 commit
    • Sebastian Holtermann's avatar
      cmGeneratedFileStream: clang-tidy applied to remove redundant ``c_str`` calls · b6802cd5
      Sebastian Holtermann authored
      After changing the ``cmGeneratedFileStream`` methods to accept
      ``std::string const&`` instead of ``const char*`` we don't
      need to call ``std::string::c_str`` anymore when passing
      a ``std::string`` to a ``cmGeneratedFileStream`` method.
      This patch removes all redundant ``std::string::c_str``
      calls when passing a string to a ``cmGeneratedFileStream`` method.
      It was generated by building CMake with clang-tidy enabled using
      the following options:
  10. 04 Jun, 2018 1 commit
  11. 01 Jun, 2018 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format-6.0 · d7204e64
      Kitware Robot authored
      Run the `clang-format.bash` script to update all our C and C++ code to a
      new style defined by `.clang-format`.  Use `clang-format` version 6.0.
      * If you reached this commit for a line in `git blame`, re-run the blame
        operation starting at the parent of this commit to see older history
        for the content.
      * See the parent commit for instructions to rebase a change across this
        style transition commit.
  12. 31 Jan, 2018 1 commit
    • Pavel Solodovnikov's avatar
      Reduce raw string pointers usage. · 653b8946
      Pavel Solodovnikov authored
      * Change some functions to take `std::string` instead of
        `const char*` in the following classes: `cmMakeFile`, `cmake`,
        `cmCoreTryCompile`, `cmSystemTools`,  `cmState`, `cmLocalGenerator`
        and a few others.
      * Greatly reduce using of `const char*` overloads for
        `cmSystemTools::MakeDirectory` and `cmSystemTools::RelativePath`.
      * Remove many redundant `c_str()` conversions throughout the code.
  13. 24 Jan, 2018 1 commit
    • Alexander Neundorf's avatar
      Generators: remove KDevelop3 generator · 9198e6a2
      Alexander Neundorf authored
      The last KDevelop3 release was many years ago, in 2008 I think.
      I haven't seen or read about anybody using KDevelop 3 since a
      long time, so I think it can safely be removed from CMake.
      KDevelop 4 (first released in 2010) has its own proper CMake
      support now, independent from this generator.
  14. 08 Jan, 2018 1 commit
  15. 27 Nov, 2017 1 commit
    • Melven Roehrig-Zoellner's avatar
      CodeBlocks: add option for the CB compiler ID · e04f1d1b
      Melven Roehrig-Zoellner authored
      CodeBlocks uses his own compiler ID string which may differ from
      CMAKE_<LANG>_COMPILER_ID. In particular CodeBlocks supports a large
      number of different compiler configurations (with different IDs)
      This commit adds a cache variable "CMAKE_CODEBLOCKS_COMPILER_ID",
      so the user might adjust it when needed.
  16. 17 Nov, 2017 1 commit
    • Aaron Orenstein's avatar
      Performance: Improve efficiency of source file lookup in cmMakefile · 4a6348db
      Aaron Orenstein authored
      This reintroduces the change from commit v3.10.0-rc1~69^2 (Performance:
      Improve efficiency of source file lookup in cmMakefile, 2017-08-17) with
      some corrections.  The original was rolled back by commit
      v3.10.0-rc1~52^2~1 (Revert "Performance: ...", 2017-09-25) due to
      incompatibilities found.  The rollback was followed-up by addition of a
      test for the offending case, and this revision passes the test.
  17. 14 Sep, 2017 1 commit
    • Sagrer's avatar
      CodeBlocks: add option to exclude external files · fb19b778
      Sagrer authored
      Add variable `CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES` to optionally
      exclude files from outside the project root from the project file
      written by the CodeBlocks extra generator.  This optionally restores
      logic that had been removed by commit v2.8.3~40^2 (CodeBlocks Generator:
      Do not omit files in the project file listing, 2010-10-05) in response
      to QTCREATORBUG-2250.
      Issue: #12110
      Fixes: #17188
  18. 12 Sep, 2017 1 commit
  19. 30 Aug, 2017 2 commits
  20. 24 Aug, 2017 1 commit
  21. 16 Aug, 2017 1 commit
    • Aaron Orenstein's avatar
      Performance: Add an index to Change cmLocalGenerator::GeneratorTargets. · af3fd6f2
      Aaron Orenstein authored
      Add an index to Change cmLocalGenerator::GeneratorTargets for faster lookup by
      Also changed a bunch of uses of cmLocalGenerator::GetGeneratorTargets() to take
      const references instead of copying the vector.
      Represent generator targets as a map (name -> target) to make name lookups more
      efficient instead of looping through the entire vector to find the desired one.
  22. 26 May, 2017 1 commit
  23. 10 Jan, 2017 1 commit
  24. 12 Dec, 2016 1 commit
  25. 08 Nov, 2016 1 commit
  26. 19 Oct, 2016 2 commits
  27. 27 Sep, 2016 1 commit
    • Brad King's avatar
      Simplify CMake per-source license notices · 86578ecc
      Brad King authored
      Per-source copyright/license notice headers that spell out copyright holder
      names and years are hard to maintain and often out-of-date or plain wrong.
      Precise contributor information is already maintained automatically by the
      version control tool.  Ultimately it is the receiver of a file who is
      responsible for determining its licensing status, and per-source notices are
      merely a convenience.  Therefore it is simpler and more accurate for
      each source to have a generic notice of the license name and references to
      more detailed information on copyright holders and full license terms.
      Our `Copyright.txt` file now contains a list of Contributors whose names
      appeared source-level copyright notices.  It also references version control
      history for more precise information.  Therefore we no longer need to spell
      out the list of Contributors in each source file notice.
      Replace CMake per-source copyright/license notice headers with a short
      description of the license and links to `Copyright.txt` and online information
      available from "https://cmake.org/licensing".  The online URL also handles
      cases of modules being copied out of our source into other projects, so we
      can drop our notices about replacing links with full license text.
      Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority
      of the replacements mechanically.  Manually fix up shebang lines and trailing
      newlines in a few files.  Manually update the notices in a few files that the
      script does not handle.
  28. 03 Sep, 2016 1 commit
  29. 26 Aug, 2016 1 commit
    • Kevin Ottens's avatar
      CodeBlocks: List C++ includes first · 38995d19
      Kevin Ottens authored
      When using the Clang Code Model in QtCreator, it turned out that having
      the C system include dirs can make it report false positives for most
      uses of the STL. This is due to the order the Clang Code Model looks at
      the include directories and some C includes in /usr/include could be
      incompatible with the used STL if found first.
  30. 18 Aug, 2016 1 commit
  31. 15 Aug, 2016 1 commit
  32. 03 Aug, 2016 1 commit
    • Tobias Hunger's avatar
      Refactor extra generator registration to use factories · a354f60c
      Tobias Hunger authored
      This will allow additional information about the availability
      and capabilities of extra generators to be queried without
      actually creating them.
      Instead of a static NewFactory() method like the main generator
      factories have, use a static GetFactory() method to get a pointer to a
      statically allocated extra generator factory.  This simplifies memory
  33. 28 Jun, 2016 1 commit
  34. 17 Jun, 2016 1 commit
  35. 16 Jun, 2016 1 commit
    • Rikky's avatar
      CodeBlocks: Show generated files in non-utility targets · afd6cc6b
      Rikky authored
      Since 2.6.3 the UTILITY target may have source files. A defect was filed
      that these files are now visible in the source tree. A fix later removed
      all generated files from the source tree, regardless of the target type.
      You can't even include them by using the SOURCES option. This fix adds
      generated files again, except for the UTILITY target which cluttered the
      source tree.
      Fixes #14272.
  36. 02 Jun, 2016 2 commits