1. 18 Aug, 2015 1 commit
  2. 03 Nov, 2014 2 commits
  3. 20 Oct, 2014 1 commit
    • Ben Boeckel's avatar
      Avoid if() quoted auto-dereference · 29c3edb8
      Ben Boeckel authored
      When testing CMAKE_<LANG>_COMPILER_ID values, do not explicitly
      dereference or quote the variable. We want if() to auto-dereference the
      variable and not its value. Also replace MATCHES with STREQUAL where
      equivalent.
      29c3edb8
  4. 10 Feb, 2013 1 commit
  5. 16 Aug, 2012 1 commit
    • Alexander Neundorf's avatar
      Eclipse on OSX: fix handling of framework include dirs (#13464) · d97b3852
      Alexander Neundorf authored
      On OSX, the output from gcc looks like this:
       /usr/include/c++/4.2.1
       /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64
       /usr/include/c++/4.2.1/backward
       /usr/lib/gcc/i686-apple-darwin10/4.2.1/include
       /usr/include
       /System/Library/Frameworks (framework directory)
       /Library/Frameworks (framework directory)
      End of search list.
      
      The "(framework directory)" part needs to be removed so that Eclipse handles it properly
      
      Alex
      d97b3852
  6. 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
  7. 25 Jun, 2012 1 commit
  8. 01 Oct, 2011 1 commit
  9. 01 Aug, 2011 1 commit
  10. 03 Apr, 2011 2 commits
  11. 13 Dec, 2010 1 commit
  12. 12 Dec, 2010 1 commit
  13. 23 Aug, 2010 1 commit
  14. 15 Aug, 2010 2 commits
  15. 09 Aug, 2010 1 commit
  16. 01 Oct, 2009 1 commit
  17. 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
  18. 17 Sep, 2009 1 commit
  19. 16 Sep, 2009 1 commit
  20. 28 Jun, 2009 1 commit
  21. 12 May, 2009 1 commit
  22. 10 May, 2009 1 commit
    • Alexander Neundorf's avatar
      ENH: move the code which queries gcc for the system include dirs from · 352fb9ff
      Alexander Neundorf authored
      CMakeSystemSpecificInformation.cmake into a separate file,
      CMakeEclipseCDT4.cmake
      -if CMAKE_EXTRA_GENERATOR is set, i.e. either CodeBlocks or KDevelop3 or
      EclipseCDT4, load a matching cmake script file, which can do things specific
      for this generator
      - added such files for Eclipse, KDevelop and CodeBlocks, one thing they all
      do is they try to find the respective IDE and store it in the
      CMAKE_(KDEVELOP3|CODEBLOCKS|ECLIPSE)_EXECUTABLE variable.
      This could be used by cmake-gui to open the project it just generated with
      the gui (not sure this is possible with eclipse).
      
      Alex
      352fb9ff