1. 19 Jul, 2015 1 commit
    • Stephen Kelly's avatar
      KDE4: Find the Internal package with NO_POLICY_SCOPE. · 4572d8b3
      Stephen Kelly authored
      If someone in KDE wants to port away from OLD policies, they might want to do
      so one policy at a time.  This patch will allow them to use
        find_package(KDE4 NO_POLICY_SCOPE)
      in callers to get around the CMP0011 warning, while still getting the policy
      settings contained within.
  2. 15 Oct, 2013 1 commit
  3. 13 Aug, 2012 3 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
    • Kitware Robot's avatar
      Remove trailing whitespace from most CMake and C/C++ code · 7bbaa428
      Kitware Robot authored
      Our Git commit hooks disallow modification or addition of lines with
      trailing whitespace.  Wipe out all remnants of trailing whitespace
      everywhere except third-party code.
      Run the following shell code:
      git ls-files -z -- \
       bootstrap doxygen.config '*.readme' \
       '*.c' '*.cmake' '*.cpp' '*.cxx' \
       '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \
       '*.mm' '*.pike' '*.py' '*.txt' '*.vim' |
      egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' |
      egrep -z -v '^(Modules/CPack\..*\.in)' |
      xargs -0 sed -i 's/ \+$//'
  4. 09 Aug, 2010 1 commit
  5. 10 May, 2010 2 commits
  6. 01 Oct, 2009 1 commit
  7. 28 Sep, 2009 1 commit
    • Brad King's avatar
      Convert CMake find-modules to BSD License · c4bb9c9d
      Brad King authored
      This adds copyright/license notification blocks CMake's find-modules.
      Many 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.
  8. 21 Jan, 2009 1 commit
  9. 17 Aug, 2008 1 commit
  10. 16 Aug, 2008 1 commit
    • Alexander Neundorf's avatar
      BUG: fix #7447, FindModulesExecuteAll test fails if both Qt3 and KDE4 can be · db4bebe5
      Alexander Neundorf authored
      found in the system
      Qt3 and Qt4 cannot be used together in one project.
      Now Qt3/KDE3 and Qt4/KDE4 handle the case that this is done nevertheless
      properly, i.e. they fail with FATAL_ERROR if it was REQUIRED and they fail
      with just MESSAGE(STATUS ...) and RETURN() if it was not REQUIRED
      BUG: make FindQt4 error out with FATAL_ERROR also if it was searched QUIET
  11. 26 Jun, 2008 1 commit
  12. 09 Jun, 2008 1 commit
    • Brad King's avatar
      ENH: Cleanup Find* modules with new HINTS feature · e2ec3b67
      Brad King authored
        - The find_* commands now provide a HINTS option.
        - The option specifies paths to be preferred over the system paths.
        - Many Find* modules were using two find calls with NO_DEFAULT_PATH
          to approximate the behavior, but that blocked users from overriding
          things with CMAKE_PREFIX_PATH.
        - This commit uses the HINTS feature to get desired behavior in
          only one find command call.
  13. 14 Mar, 2008 1 commit
  14. 26 Aug, 2007 1 commit
    • Alexander Neundorf's avatar
      · 983e2a9a
      Alexander Neundorf authored
      BUG: KDEDIRS contains the kde install locations, not the binary dirs, so
      make KDEDIRS actually work in FindKDE4.cmake
  15. 10 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · 3eced4a2
      Alexander Neundorf authored
      STYLE: use EXECUTE_PROCESS() instead of EXEC_PROGRAM()
  16. 20 Feb, 2007 1 commit
  17. 30 Jan, 2007 1 commit
  18. 22 Nov, 2006 1 commit
  19. 04 Jul, 2006 1 commit
    • Alexander Neundorf's avatar
      · 205635dc
      Alexander Neundorf authored
      ENH: prefer kde4-config over kde-config, since for KDE 4 kde-config will be
      renamed to kde-config, and so cmake has to prefer this one over the old
  20. 11 May, 2006 1 commit
  21. 28 Mar, 2006 1 commit
  22. 16 Mar, 2006 1 commit
  23. 10 Mar, 2006 1 commit