1. 27 Feb, 2015 1 commit
  2. 23 Feb, 2015 1 commit
  3. 23 Jan, 2015 1 commit
  4. 06 Nov, 2014 1 commit
  5. 22 Oct, 2014 1 commit
  6. 14 Apr, 2014 1 commit
  7. 14 Mar, 2014 1 commit
  8. 03 Mar, 2014 1 commit
    • Daniele E. Domenichelli's avatar
      FeatureSummary: Allow to combine and reorder values for the "WHAT" option · d348cd1b
      Daniele E. Domenichelli authored
      For example it is now possible to do:
      
        feature_summary(WHAT ENABLED_FEATURES
                             DISABLED_FEATURES)
      
      That produces an output like:
      
        --
        -- The following features have been enabled:
      
         * Feature1
         * Feature2
      
        -- The following features have been disabled:
         * Feature2
      
      Skipping the lists that are empty.
      
      Without this patch this would require to do:
      
        message(STATUS "")
        feature_summary(WHAT ENABLED_FEATURES
            DESCRIPTION "The following features have been enabled:")
        feature_summary(WHAT DISABLED_FEATURES
            DESCRIPTION "The following features have been disabled:")
      
      And empty lists would not be skipped.
      
      The behaviour when WHAT has a single argument (ALL or any option) is
      unchanged.
      d348cd1b
  9. 03 Feb, 2014 1 commit
  10. 15 Oct, 2013 1 commit
  11. 04 Nov, 2012 1 commit
  12. 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
      9db31162
    • 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
  13. 13 May, 2012 1 commit
  14. 18 Feb, 2012 1 commit
    • Modestas Vainius's avatar
      various typo and formatting fixes in manual pages (#12975) · d36d29f1
      Modestas Vainius authored
      The patch fixes the following lintian warnings:
      
      W: cmake-data: manpage-has-errors-from-man usr/share/man/man1/cmakemodules.1.gz 2728: warning: macro `..' not defined
      I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz overriden overridden
      I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz overriden overridden
      I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz explicitely explicitly
      I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz jave java
      W: cmake-data: manpage-has-errors-from-man usr/share/man/man1/cmakeprops.1.gz 1040: warning [p 25, 3.7i]: can't break line
      W: cmake: manpage-has-errors-from-man usr/share/man/man1/cmake.1.gz 4233: warning [p 85, 1.3i]: can't break line
      I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz overriden overridden
      I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz overriden overridden
      I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz explicitely explicitly
      I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz jave java
      d36d29f1
  15. 18 Sep, 2011 2 commits
  16. 27 Aug, 2011 1 commit
  17. 17 Jul, 2011 7 commits
  18. 21 Sep, 2010 3 commits
  19. 25 Aug, 2010 1 commit
    • Alexander Neundorf's avatar
      Add macro ADD_FEATURE_INFO() and improve docs. · 88e6447e
      Alexander Neundorf authored
      ADD_FEATURE_INFO() can be used to set the info for a feature,
      e.g. an option().
      set_feature_info() has been renamed to set_package_info(), since this is
      about found or not found packages. For compatiblity set_feature_info()
      is still provided.
      
      Alex
      88e6447e
  20. 24 Aug, 2010 3 commits
    • Alexander Neundorf's avatar
      Improve wording of the documentation. · b3535246
      Alexander Neundorf authored
      Alex
      b3535246
    • Alexander Neundorf's avatar
      Improve documentation. · 6fc88b26
      Alexander Neundorf authored
      Alex
      6fc88b26
    • Alexander Neundorf's avatar
      Log the required package version and major improvement to FeatureSummary · 33338781
      Alexander Neundorf authored
      find_package() now also stores the required version automatically, so it
      can be used by FeatureSummary.cmake.
      This was one of the requested features for setting up nightly builds
      for KDE, since with this functionality it will be possible to write
      a file at the end of each project which lists all required packages
      and their versions. This file could then be compared for equality
      with an older one and if something has changed the build maintainer
      can be emailed.
      
      In FeatureSummary.cmake there is now a new function feature_summary(),
      which also allows to print the log to a file or into a variable.
      It also allows to specify whether to append to a file or to write a new
      one, and what information to log.
      
      Docs are still missing.
      
      Alex
      33338781
  21. 09 Aug, 2010 1 commit
  22. 28 Oct, 2009 1 commit
  23. 14 Oct, 2009 1 commit
    • Alexander Neundorf's avatar
      make it more robust wrt. #9621 · b143c335
      Alexander Neundorf authored
      although #9621 did not happen anymore with cmake 2.8.0, probably because
      GET_PROPERTY(... GLOBAL ...) now makes the result variable empty instead of
      simply not touching it, using FUNCTION() instead of MACRO() makes sure that
      the _EnabledFeatures variables is always empty before the GET_PROPERTY()
      call (and does not still have the old value from the previous call)
      
      Alex
      b143c335
  24. 01 Oct, 2009 1 commit
  25. 28 Sep, 2009 1 commit
    • Brad King's avatar
      Convert CMake non-find modules to BSD License · 3a666595
      Brad King authored
      This adds copyright/license notification blocks CMake's non-find
      modules.  Most of the modules had no notices at all.  Some had notices
      referring to the BSD license already.  This commit normalizes existing
      notices and adds missing notices.
      3a666595
  26. 03 Sep, 2009 1 commit
  27. 17 Jan, 2008 2 commits