1. 22 Mar, 2012 1 commit
    • Brad King's avatar
      CTest.UpdateHG: Fix repo URL for leading slash · d0702f82
      Brad King authored
      Use "file:///..." instead of "file:////..." when the file system path
      starts in a slash.  Commit 0916cc88 (CTest.UpdateHG: Fix repo URL for
      local filesystem, 2012-03-02) added a third slash after "file://"
      unconditionally.  This worked for many file systems but not on Cygwin
      where "file:////cygdrive/..." looks like "file://" followed by a network
      file path "//cygdrive/...".  Add the slash only if the file system path
      does not already start with one.
      d0702f82
  2. 02 Mar, 2012 1 commit
  3. 21 Feb, 2012 1 commit
    • Alexander Neundorf's avatar
      Check*.cmake: Expand imported targets in CMAKE_REQUIRED_LIBRARIES · 35c48e12
      Alexander Neundorf authored and Brad King's avatar Brad King committed
      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
  4. 19 Feb, 2012 1 commit
  5. 18 Feb, 2012 3 commits
  6. 17 Feb, 2012 1 commit
  7. 13 Feb, 2012 1 commit
  8. 09 Feb, 2012 6 commits
  9. 08 Feb, 2012 1 commit
    • Brad King's avatar
      Add CheckLanguage module · 5db99e87
      Brad King authored
      Define a "check_language(<lang>)" macro to test whether <lang> can be
      enabled.  Cache the result in CMAKE_<lang>_COMPILER.  Add a test case
      covering expected results.
      5db99e87
  10. 03 Feb, 2012 3 commits
    • Brad King's avatar
      Remove unused test code · daa41016
      Brad King authored
      We have not run tests with the "como" compiler or enabled the
      experimental ConvLibrary test for years.
      daa41016
    • Brad King's avatar
      Fix CXX/Fortran MODULE flags when enabled before C (#12929) · 74958450
      Brad King authored
      If CXX or Fortran is enabled before C then the values of
      
        CMAKE_SHARED_MODULE_C_FLAGS
        CMAKE_SHARED_MODULE_CREATE_C_FLAGS
      
      may not be available.  On platforms where MODULE library (plugin) creation
      is the same as SHARED library creation initialize the MODULE creation
      flags from the SHARED creation flags of the matching language instead of
      assuming that C has been enabled first.
      
      Teach the COnly and CxxOnly tests to build MODULE libraries.  The latter
      covers this specific case.
      74958450
    • David Cole's avatar
  11. 01 Feb, 2012 1 commit
  12. 30 Jan, 2012 1 commit
  13. 26 Jan, 2012 3 commits
  14. 25 Jan, 2012 1 commit
  15. 22 Jan, 2012 1 commit
  16. 21 Jan, 2012 1 commit
  17. 20 Jan, 2012 3 commits
  18. 18 Jan, 2012 1 commit
  19. 17 Jan, 2012 2 commits
  20. 16 Jan, 2012 2 commits
  21. 13 Jan, 2012 2 commits
    • Brad King's avatar
      Tolerate cycles in shared library link interfaces (#12647) · 8e756d2b
      Brad King authored
      Since commit 183b9509 (Follow all dependencies of shared library private
      dependencies, 2011-12-14) we honor LINK_INTERFACE_LIBRARIES when
      following dependent shared libraries.  The link interface properties may
      form a cycle if set incorrectly by a project.  Furthermore, the property
      LINK_DEPENDENT_LIBRARIES may form a cycle if set incorrectly by hand
      (though CMake should never generate one).  In either case, do not follow
      the cycle forever when following the dependent shared library closure.
      We only need to add dependency edges to the constraint graph once.
      
      Add "LinkInterfaceLoop" test to cover this case.
      8e756d2b
    • Brad King's avatar
      Add infrastructure for CMake-only tests · 9a20abf0
      Brad King authored
      Some tests only need to run CMake to configure and generate a build
      tree, but not actually perform the build.  Add a new "Tests/CMakeOnly"
      directory dedicated for this purpose.  Add a helper script to drive each
      test by creating a fresh build tree and running CMake on it.  Add macro
      "add_CMakeOnly_test" to help create tests using the script.
      9a20abf0
  22. 23 Dec, 2011 3 commits