1. 02 Nov, 2019 1 commit
  2. 12 Oct, 2019 2 commits
  3. 11 Oct, 2019 1 commit
  4. 01 Oct, 2019 1 commit
  5. 26 Aug, 2019 1 commit
    • Brad King's avatar
      cmMessageCommand: Remove extra layer of parentheses · 51565abe
      Brad King authored
      The logic checking `CMAKE_WARN_DEPRECATED` contained an unnecessary
      layer of parentheses.  The condition is of the form `!IsSet || IsOn`
      which is correct because the documentation says that the behavior is
      enabled unless the variable is explicitly set to a false value.
      
      Issue: #19610
      51565abe
  6. 20 Aug, 2019 1 commit
  7. 14 Aug, 2019 1 commit
  8. 29 Jul, 2019 1 commit
  9. 20 Jul, 2019 1 commit
  10. 28 Apr, 2019 2 commits
  11. 21 Feb, 2019 1 commit
  12. 11 Feb, 2019 1 commit
  13. 28 Jan, 2019 1 commit
  14. 16 Jan, 2019 1 commit
  15. 03 Nov, 2017 1 commit
    • luz.paz's avatar
      Fix trivial typos in text · 777e87ae
      luz.paz authored
      Some are user facing.
      
      Found using
      
          codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt`
      
      whereby the whitelist contained:
      
          ans
          dum
          helpfull
          emmited
          emmitted
          buil
          iff
          isnt
          nto
          ot
          pathes
          substract
          te
          todays
          upto
          whitespaces
      777e87ae
  16. 08 Nov, 2016 1 commit
  17. 26 Oct, 2016 1 commit
  18. 21 Oct, 2016 1 commit
  19. 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
  20. 15 Sep, 2016 1 commit
  21. 25 Aug, 2016 1 commit
    • Stephen Kelly's avatar
      cmMessenger: Extract from cmake class · 421012a3
      Stephen Kelly authored
      This way messages can be issued independent of the cmake instance.
      
      It is now possible to make DisplayMessage a virtual interface and
      override it to handle messages in the cmake-gui or future IDE
      interaction interfaces.
      421012a3
  22. 12 Jun, 2016 2 commits
  23. 16 May, 2016 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format · d9fd2f54
      Kitware Robot authored
      Run the `Utilities/Scripts/clang-format.bash` script to update
      all our C++ code to a new style defined by `.clang-format`.
      Use `clang-format` version 3.8.
      
      * 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.
      d9fd2f54
  24. 12 Jan, 2016 1 commit
    • Michael Scott's avatar
      Add -Werror and -Wno-error command-line options · 28f2d750
      Michael Scott authored
      Expand the -W set of cmake options to include support for the -Werror
      and -Wno-error format, which is used to control upgrading and
      downgrading warning and error messages. Implement support for these new
      formats for the dev and deprecated message types.
      
      Add tests and updated documentation for new options.
      28f2d750
  25. 01 Dec, 2015 2 commits
    • Michael Scott's avatar
      Explicitly enable deprecated warnings by default. · aac633d5
      Michael Scott authored
      Explicitly enable deprecated warnings by default, via the
      cmake::GetSuppressDeprecatedWarnings method, which signals
      suppression is turned off unless the CMake variables are set
      as required.
      
      Add tests and update the documentation for the new
      functionality.
      aac633d5
    • Michael Scott's avatar
      Explicitly enable author (dev) warnings by default. · 246b0bfb
      Michael Scott authored
      Explicitly enable author warnings by default, via the
      cmake::GetSuppressDevWarnings method, which signals suppression
      is turned off unless the CMake variables are set as required.
      
      Add test cases for author and deprecated messages displayed by
      default.
      246b0bfb
  26. 30 Nov, 2015 1 commit
    • Michael Scott's avatar
      Make message suppression more consistent. · deec3a3f
      Michael Scott authored
      Make the message suppression more consistent, by adding a check
      for the message related CMake variables in cmake::IssueMessage,
      which allows callers of IssueMessage other than the message
      command to behave as expected. Also added a check for
      CMAKE_SUPPRESS_DEVELOPER_WARNINGS in the message command to
      mirror the deprecated message type behaviour.
      
      Added a 'force' flag to the cmake::IssueMessage method, to
      make the message suppression consistent, when setting the
      message related CMake variables directly in a CMake file.
      
      Expand message command tests to cover the AUTHOR_WARNING message
      type as well.
      deec3a3f
  27. 22 Sep, 2015 1 commit
    • Brad King's avatar
      Revert topic 'cmake-W-options' (#15747) · 81739e92
      Brad King authored
      The changes in commit c96fe0b4 (cmake: Add -W options to control
      deprecation warnings and errors, 2015-07-28) fail to account for
      -Wdev warnings produced by places in CMake other than message().
      This causes a regression in which -Wno-dev fails to suppress such
      warnings.  Revert the feature until it can be revised accordingly.
      81739e92
  28. 03 Aug, 2015 1 commit
    • Brad King's avatar
      cmake: Do not treat developer warnings as errors by default in scripts · 975426ce
      Brad King authored
      The logic in commit c96fe0b4 (cmake: Add -W options to control
      deprecation warnings and errors, 2015-07-28) accidentally enables
      errors on warnings by default in scripts because there is no
      initialization of CMAKE_SUPPRESS_DEVELOPER_ERRORS to TRUE.
      
      Rename internal CMAKE_SUPPRESS_DEVELOPER_ERRORS cache entry to
      CMAKE_ERROR_DEVELOPER_WARNINGS.  Fix the logic in the message() command
      to treat AUTHOR_WARNING as an error only if the option is explicitly
      enabled.
      975426ce
  29. 29 Jul, 2015 1 commit
    • Michael Scott's avatar
      cmake: Add -W options to control deprecation warnings and errors · c96fe0b4
      Michael Scott authored
      Refactor the -Wdev and -Wno-dev to use a generic -W parser that follows
      the GCC pattern.  Include support for setting CMAKE_ERROR_DEPRECATED and
      CMAKE_WARN_DEPRECATED via the deprecated warning.  Add -Werror=dev and
      -Wno-error=dev options so that dev warning options are in line with
      deprecated warning options.  Use a new CMAKE_SUPPRESS_DEVELOPER_ERRORS
      internal cache entry to store the above new dev options persistently.
      Add tests for new options and updated cmake documentation and release
      notes to list new options.
      c96fe0b4
  30. 22 Jul, 2015 1 commit
  31. 11 Feb, 2015 1 commit
    • Stephen Kelly's avatar
      Use cmJoin to accumulate string ranges. · 27c6f017
      Stephen Kelly authored
      Avoid using the std::accumulate algorithm which is designed for
      numeric types, not complex types.  It introduces unneccessary
      copies.
      
      Initialize variables where they are populated.
      27c6f017
  32. 11 Mar, 2014 1 commit
    • Stephen Kelly's avatar
      Remove some c_str() calls. · 21c573f6
      Stephen Kelly authored
      Use the clang RemoveCStrCalls tool to automatically migrate the
      code. This was only run on linux, so does not have any positive or
      negative effect on other platforms.
      21c573f6
  33. 08 Oct, 2013 1 commit
    • Stephen Kelly's avatar
      message: Add a DEPRECATION mode · 509c142a
      Stephen Kelly authored
      By default, the message is not issued. If CMAKE_ERROR_DEPRECATED
      is on, the message is fatal. If CMAKE_WARN_DEPRECATED is on, the
      message is a warning.
      509c142a
  34. 01 Oct, 2009 1 commit
  35. 28 Sep, 2009 1 commit
    • Brad King's avatar
      Convert CMake to OSI-approved BSD License · 96afb120
      Brad King authored
      This converts the CMake license to a pure 3-clause OSI-approved BSD
      License.  We drop the previous license clause requiring modified
      versions to be plainly marked.  We also update the CMake copyright to
      cover the full development time range.
      96afb120
  36. 06 Mar, 2009 1 commit
    • Brad King's avatar
      BUG: Fix message(SEND_ERROR) to continue · b04c37c7
      Brad King authored
      During testing of the new message() signatures I mistakenly concluded
      that SEND_ERROR stops processing.  The corresponding commit enforced
      this wrong behavior.  This restores the correct behavior and fixes the
      documentation accordingly.
      b04c37c7