1. 14 Aug, 2018 1 commit
  2. 14 Sep, 2017 1 commit
  3. 05 Sep, 2017 2 commits
  4. 15 May, 2017 1 commit
    • Ben Boeckel's avatar
      FPHSA: remove extra space · 3c515e19
      Ben Boeckel authored
      Each missing variable is added to the string as " ${var}" which causes
      the string to always have a leading space. Remove the duplicate space
      due to this in the output.
  5. 11 Jan, 2017 1 commit
    • Daniel Pfeifer's avatar
      Don't include CMakeParseArguments · d6877e6c
      Daniel Pfeifer authored
      The cmake_parse_arguments command is builtin with version 3.5.
      The CMakeParseArguments module is empty and exists for backwards
      compatibility with CMake 3.4 and lower.
      Remove the includes of CMakeParseArguments from CMake's modules.
      The modules are always used with the current version of CMake.
      Leave the includes in the tests, as the tests may be run with an older
      version of CMake.
  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. 27 Jul, 2016 1 commit
    • Daniel Pfeifer's avatar
      Use string(APPEND) in Modules · 5d0d980d
      Daniel Pfeifer authored
      Automate with:
      find Modules -type f -print0 | xargs -0 perl -i -0pe \
      's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
  8. 24 Aug, 2015 1 commit
  9. 17 Apr, 2015 3 commits
  10. 18 Mar, 2015 1 commit
  11. 25 Oct, 2014 1 commit
  12. 22 Oct, 2014 1 commit
  13. 07 Oct, 2014 2 commits
  14. 11 Sep, 2014 1 commit
    • Brad King's avatar
      FPHSA: Avoid if() dereferencing of quoted variable · e177e7af
      Brad King authored
      Legacy invocations may pass a variable name where "DEFAULT_MSG" belongs.
      When comparing FPHSA_FAIL_MESSAGE to "DEFAULT_MSG", use a leading "x" on
      both sides to avoid mistaking the value of the message for a variable
  15. 15 Oct, 2013 1 commit
  16. 18 Mar, 2013 1 commit
  17. 22 Feb, 2013 2 commits
  18. 29 Nov, 2012 1 commit
    • Alexander Neundorf's avatar
      FPHSA: don't succeed if only checking for XX_FOUND (#13755) · 4809cadf
      Alexander Neundorf authored
      This fixes issue #13755.
      always succeeded due to the way how the XX_FOUND variable was set.
      It was preset to TRUE, and then reset to FALSE if something was missing
      (...which had the effect that XX_FOUND itself was already preset when FPHSA
      checked whether XX_FOUND is set)
      Now XX_FOUND is unset first, and only later on set to TRUE.
  19. 04 Nov, 2012 1 commit
  20. 28 Sep, 2012 1 commit
  21. 15 Aug, 2012 1 commit
  22. 13 Aug, 2012 2 commits
    • Kitware Robot's avatar
      Remove CMake-language block-end command arguments · 9db31162
      Kitware Robot authored
      Ancient versions of CMake required else(), endif(), and similar block
      termination commands to have arguments matching the command starting the
      block.  This is no longer the preferred style.
      Run the following shell code:
      for c in else endif endforeach endfunction endmacro endwhile; do
          echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
    • Kitware Robot's avatar
      Convert CMake-language commands to lower case · 77543bde
      Kitware Robot authored
      Ancient CMake versions required upper-case commands.  Later command
      names became case-insensitive.  Now the preferred style is lower-case.
      Run the following shell code:
      cmake --help-command-list |
      grep -v "cmake version" |
      while read c; do
          echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
  23. 19 Mar, 2012 2 commits
  24. 20 Jan, 2012 1 commit
  25. 27 Sep, 2010 1 commit
  26. 30 Aug, 2010 1 commit
    • Alexander Neundorf's avatar
      Improve version notice in the generated message · 4969c3b5
      Alexander Neundorf authored
      Now the version number is also printed if no required version was
      specified, but a version number was detected (showing more information
      shouldn't hurt).
      The code for generating the failure message in config-mode is moved
      into a separate helper macro, it was becoming too much.
  27. 29 Aug, 2010 2 commits
  28. 14 Aug, 2010 1 commit
    • Alexander Neundorf's avatar
      Add macro CMakeParseArguments() and use it in FPHSA() · b173b879
      Alexander Neundorf authored
      This adds a macro cmake_parse_arguments() (as discussed on cmake-devel)
      which can be used in macros or functions to help with parsing its
      arguments. Detailled docs are included.
      find_package_handle_standard_args() is the first user of this new macro.
  29. 09 Aug, 2010 1 commit
  30. 07 Aug, 2010 1 commit
  31. 29 Jul, 2010 1 commit
  32. 28 Jul, 2010 1 commit