1. 06 Sep, 2018 1 commit
  2. 05 Sep, 2018 1 commit
  3. 09 Aug, 2018 1 commit
  4. 06 Jun, 2018 1 commit
    • Marc Chevrier's avatar
      LINK_OPTIONS: Add new family of properties · c1f5a44b
      Marc Chevrier authored
      This family enable to manage link flags
      
      Three new properties:
      * directory property: LINK_OPTIONS
      * target properties: LINK_OPTIONS and INTERFACE_LINK_OPTIONS
      
      Two new commands
      * add_link_options(): to populate directory property
      * target_link_options(): to populate target properties
      
      Fixes: #16543
      c1f5a44b
  5. 22 May, 2018 1 commit
    • florian jacomme's avatar
      Revise implementation of case-insensitive command names · b1a05d6c
      florian jacomme authored
      Store both the as-written and lower-case command names and use
      the latter to avoid case-insensitive string comparisons.
      
      With this I obtain 2-6% speed increase (on Windows) for the configure
      step with no significant changes in memory usage.  A case-insensitive
      comparison is a lot slower than just calling `==` because the operator
      will use things like memcmp, so prefer the latter.
      
      The `cmSystemTools::LowerCase` function allocates a new string each time
      it is called, so before this change we were allocating in:
      
      * cmMakefile::Configure two times for each function
        (to look for `cmake_minimum_required` and `project`)
      * cmMakefile::ExecuteCommand twice by function by calling
        cmState::GetCommand and copying the name
      
      Now we are only allocating once by function instead of four.
      b1a05d6c
  6. 29 Mar, 2018 1 commit
  7. 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
  8. 15 Jan, 2018 1 commit
  9. 12 Sep, 2017 1 commit
  10. 27 Aug, 2017 1 commit
  11. 24 Aug, 2017 1 commit
  12. 03 Jun, 2017 1 commit
  13. 11 May, 2017 4 commits
  14. 08 May, 2017 1 commit
  15. 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'
      1d829c86
  16. 04 Apr, 2017 1 commit
  17. 12 Dec, 2016 1 commit
  18. 08 Nov, 2016 1 commit
  19. 24 Oct, 2016 1 commit
  20. 22 Oct, 2016 1 commit
  21. 19 Oct, 2016 5 commits
  22. 18 Oct, 2016 5 commits
  23. 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 lin...
      86578ecc
  24. 19 Sep, 2016 4 commits
  25. 17 Sep, 2016 1 commit
  26. 18 Aug, 2016 1 commit