1. 11 Feb, 2019 1 commit
    • Saleem Abdulrasool's avatar
      Create and use `cmGeneratorTarget::Names` · fc8b90af
      Saleem Abdulrasool authored
      Rather than taking a number of out parameters for the various names,
      create a structure that is reused for both `GetLibraryNames` and
      `GetExecutableNames`.  Replace uses according to the new interface.
  2. 15 Sep, 2017 1 commit
    • Brad King's avatar
      Use C++11 override instead of CM_OVERRIDE · 0b33aee4
      Brad King authored
      We now require C++11 support including `override`.  Drop use of
      the old compatibility macro.  Convert references as follows:
          git grep -l CM_OVERRIDE -- '*.h' '*.hxx' '*.cxx' |
            xargs sed -i 's/CM_OVERRIDE/override/g'
  3. 26 Aug, 2017 1 commit
  4. 11 Apr, 2017 1 commit
    • Daniel Pfeifer's avatar
      Use quotes for non-system includes · 1d829c86
      Daniel Pfeifer authored
      Automate with:
      git grep -l '#include <cm_' -- Source \
        | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g'
      git grep -l '#include <cmsys/' -- Source \
        | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g'
      git grep -l '#include <cm[A-Z]' -- Source \
        | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
  5. 14 Nov, 2016 1 commit
  6. 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.
  7. 23 Aug, 2016 1 commit
  8. 27 Jun, 2016 1 commit
  9. 29 Apr, 2016 1 commit
    • Brad King's avatar
      Source: Stabilize include order · 180538c7
      Brad King authored
      Each source file has a logical first include file.  Include it in an
      isolated block so that tools that sort includes do not move them.
  10. 08 Mar, 2014 1 commit
  11. 22 Nov, 2013 1 commit
  12. 17 Jul, 2012 6 commits
  13. 14 Jun, 2012 2 commits
    • Peter Kuemmel's avatar
      Ninja: undo all the NOSHELL patches · f13a6a08
      Peter Kuemmel authored
    • Peter Kuemmel's avatar
      Ninja: don't use shell when cmake is called directly · 65460860
      Peter Kuemmel authored
      When linking with cmake and vs_link_* the command line
      could be too long for cmd.exe, which needs not to be
      called in this case. (was not cached by a test)
      Introduce rules which don't use the shell and use this
      rule when there are no pre or post step.
      For free we get a small speedup, because cmd is then
      not called.
      Also be more accurate when estimating the
      command line length.
  14. 12 Jun, 2012 1 commit
  15. 05 Jun, 2012 1 commit
  16. 06 Apr, 2012 1 commit
  17. 16 Mar, 2012 1 commit
    • Brad King's avatar
      Build object library targets in Ninja · 61124de4
      Brad King authored
      Treat OBJECT libraries as STATIC libraries but leave out the archive
      step.  The object files will be left behind for reference by other
      targets later.
  18. 02 Feb, 2012 1 commit