1. 28 Jan, 2019 1 commit
    • Florian Maushart's avatar
      cmake: Add options for verbose output to --build mode · 439fe2e2
      Florian Maushart authored
      While we already support `VERBOSE` environment variable and
      `CMAKE_VERBOSE_MAKEFILE` cached variable, add `-v` and `--verbose`
      command line options to be able to activate verbose output directly from
      CMake's build tool mode command line.
      
      Also make `msbuild` honor the verbosity setting. `xcodebuild` still
      doesn't honor the verbosity setting as it will need a policy added
      and reworking of cmGlobalGenerator and cmsys to support
      multiple command invocation.
      439fe2e2
  2. 27 Jan, 2019 1 commit
  3. 25 Jan, 2019 1 commit
  4. 22 Jan, 2019 1 commit
  5. 21 Jan, 2019 2 commits
  6. 17 Jan, 2019 1 commit
  7. 14 Jan, 2019 1 commit
    • Kyle Edwards's avatar
      cmGlobalUnixMakefileGenerator3: Fix memory leak warning · 613323a7
      Kyle Edwards authored
      this->Makefiles.empty() is called twice, leading clang scan-build
      to falsely believe that the delete statement was causing a memory
      leak. Fix this by using a unique_ptr to hold the temporary
      cmMakefile. This also has the benefit of making the code
      exception-safe.
      613323a7
  8. 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:
      
      -DCMAKE_CXX_CLANG_TIDY=/usr/bin/clang-tidy-4.0;-checks=-*,readability-redundant-string-cstr;-fix;-fix-errors
      b6802cd5
  9. 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.
      d7204e64
  10. 25 May, 2018 1 commit
    • Florian Maushart's avatar
      cmake: Add options for parallel builds to --build mode · 1ab3881e
      Florian Maushart authored
      While we already support `cmake --build . -- -j`, the options after `--`
      are specific to the native build tool.  Add new options `--parallel
      [<N>]` and `-j [<N>]` to abstract this and map to the proper option
      for the native build tool.
      1ab3881e
  11. 22 Apr, 2018 1 commit
  12. 01 Apr, 2018 1 commit
  13. 08 Mar, 2018 1 commit
  14. 23 Feb, 2018 1 commit
  15. 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.
      653b8946
  16. 26 Jan, 2018 1 commit
  17. 14 Dec, 2017 1 commit
    • Yurii Batrak's avatar
      Makefiles: Drop 'requires' step and its supporting infrastructure · 7ab9a625
      Yurii Batrak authored
      The 'requires' step was used to provide implicit dependencies between
      the generated Fortran module files and a Fortran target that needs these
      module files to ensure the correct compilation order.  After recent
      refactoring to resolve all dependencies explicitly through `.mod.stamp`
      make targets, the separate 'requires' step is not needed anymore.
      7ab9a625
  18. 21 Sep, 2017 1 commit
  19. 12 Sep, 2017 1 commit
  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
      name.
      
      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.
      af3fd6f2
  22. 08 Nov, 2016 1 commit
  23. 30 Oct, 2016 1 commit
  24. 19 Oct, 2016 4 commits
  25. 06 Oct, 2016 2 commits
  26. 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.
      86578ecc
  27. 19 Sep, 2016 5 commits
  28. 03 Sep, 2016 1 commit
  29. 27 Aug, 2016 2 commits
  30. 28 Jun, 2016 1 commit