1. 16 Sep, 2014 1 commit
  2. 11 Sep, 2014 1 commit
  3. 29 Mar, 2014 1 commit
  4. 15 Oct, 2013 1 commit
  5. 22 Feb, 2013 1 commit
    • Stephen Kelly's avatar
      Handle targets in the LINK_LIBRARIES of try_compile. · 236133e7
      Stephen Kelly authored
      Imported targets are re-exported so that they can be used by the
      try_compile generated code with target_link_libraries.
      
      This makes the use of the cmake_expand_imported_targets macro
      obsolete. The macro is not able to expand the generator expressions
      which may appear in the IMPORTED_LINK_INTERFACE_LIBRARIES content.
      Instead it just sees them as 'not a target'.
      236133e7
  6. 13 Aug, 2012 1 commit
    • 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
  7. 21 Feb, 2012 1 commit
    • Alexander Neundorf's avatar
      Check*.cmake: Expand imported targets in CMAKE_REQUIRED_LIBRARIES · 35c48e12
      Alexander Neundorf authored
      Add the function cmake_expand_imported_targets() to expand imported
      targets in a list of libraries into their on-disk file names for a
      particular configuration.  Adapt the implementation from KDE's
      HANDLE_IMPORTED_TARGETS_IN_CMAKE_REQUIRED_LIBRARIES which has been in
      use for over 2 years.  Call the function from all the Check*.cmake
      macros to handle imported targets named in CMAKE_REQUIRED_LIBRARIES.
      
      Alex
      35c48e12
  8. 18 Mar, 2011 1 commit