1. 12 Nov, 2018 1 commit
  2. 19 Oct, 2018 1 commit
    • Kyle Edwards's avatar
      DeployQt4: Do not include BundleUtilities at configure time · 15bbff05
      Kyle Edwards authored
      Due to CMP0080, BundleUtilities can no longer be included at
      configure-time. However, DeployQt4 contains some functions which
      are meant to be used at configure-time, and some which are meant
      to be used at install-time and use BundleUtilities. This change
      breaks the file into two sections: common functions and install-time
      functions. BundleUtilities is now only included at install-time,
      thus fixing the policy warning.
      
      Fixes: #18466
      15bbff05
  3. 18 Oct, 2018 2 commits
  4. 08 Jan, 2018 1 commit
    • Beren Minor's avatar
      Unhardcode the CMAKE_CONFIGURATION_TYPES values · 48f7e2d3
      Beren Minor authored
      This removes duplicated code for per-config variable initialization by
      providing a `cmake_initialize_per_config_variable(<PREFIX> <DOCSTRING>)`
      function.
      
      This function initializes a `<PREFIX>` cache variable from `<PREFIX>_INIT`
      and unless the `CMAKE_NOT_USING_CONFIG_FLAGS` variable is defined, does
      the same with `<PREFIX>_<CONFIG>` from `<PREFIX>_<CONFIG>_INIT` for every
      `<CONFIG>` in `CMAKE_CONFIGURATION_TYPES` for multi-config generators or
      `CMAKE_BUILD_TYPE` for single-config generators.
      48f7e2d3
  5. 29 Dec, 2017 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.
      86578ecc
  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'
      5d0d980d
  8. 27 Feb, 2015 1 commit
  9. 22 Oct, 2014 1 commit
  10. 15 Oct, 2013 1 commit
  11. 04 Nov, 2012 1 commit
  12. 15 Aug, 2012 1 commit
  13. 13 Aug, 2012 1 commit
    • 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
      77543bde
  14. 09 Jul, 2012 1 commit
  15. 07 Mar, 2012 1 commit
  16. 23 Feb, 2012 1 commit
  17. 21 Feb, 2012 4 commits
  18. 16 Dec, 2011 1 commit
  19. 13 Dec, 2011 1 commit
  20. 14 Nov, 2011 1 commit
  21. 01 Nov, 2011 3 commits
  22. 03 Oct, 2011 1 commit
    • Mike McQuaid's avatar
      Add DeployQt4 module. · 06180459
      Mike McQuaid authored
      Add a module that gives better support to BundleUtilities to handle
      Qt plugins and deploy Qt applications.
      06180459