1. 02 Feb, 2012 1 commit
  2. 30 Jan, 2012 1 commit
  3. 25 Jan, 2012 1 commit
  4. 22 Jan, 2012 1 commit
  5. 21 Jan, 2012 1 commit
  6. 20 Jan, 2012 3 commits
  7. 18 Jan, 2012 1 commit
  8. 17 Jan, 2012 2 commits
  9. 16 Jan, 2012 2 commits
  10. 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
  11. 23 Dec, 2011 8 commits
  12. 20 Dec, 2011 1 commit
    • Bill Hoffman's avatar
      Fix the case where cmake --build failed with two project cmds in one file. · 5badf5f7
      Bill Hoffman authored
      This adds a test that uses two project commands in the same CMakeLists.txt
      file.  It also adds a fix so that cmake --build will work in that case.
      The fix sets the name of the last project command in the top level
      CMakeLists.txt in the cache variable CMAKE_PROJECT_NAME.  This variable
      is used by cmake --build to find the project name.
      5badf5f7
  13. 16 Dec, 2011 1 commit
  14. 15 Dec, 2011 1 commit
    • Brad King's avatar
      Fix and simplify Fortran test compiler compatibility check · fcb2a279
      Brad King authored
      Since commit 38aab379 (Set CMAKE_<lang>_COMPILER_ID for VS generators,
      2011-09-02) the VS IDE generators set the C and C++ compiler id to MSVC
      and the Fortran compiler id to Intel.  This caused the Fortran test to
      fail compatible compiler detection because the if() test
      
        "${CMAKE_C_COMPILER_ID}" MATCHES "MSVC"
      
      is evaluated as the "var MATCHES regex" signature which evaluates the
      compiler id "MSVC" as a variable which is defined to 1 which does not
      match "MSVC".
      
      Combine tests for non-identical but compatible compiler vendors into a
      single regex match whose left hand side will not be defined as a
      variable.
      fcb2a279
  15. 14 Dec, 2011 1 commit
    • Brad King's avatar
      Follow all dependencies of shared library private dependencies · 183b9509
      Brad King authored
      In cmComputeLinkDepends we compute the transitive closure of private
      shared library dependencies.  When a shared library is added to this
      closure we must follow all of its dependencies whether they are private
      or public.  Previously we only followed the private dependencies.  Fix
      the implementation to follow the public dependencies too.  Also extend
      the ExportImport test to cover this case.
      183b9509
  16. 13 Dec, 2011 1 commit
  17. 07 Dec, 2011 1 commit
    • Brad King's avatar
      Add framework to detect compiler version with its id (#12408) · fa7141f5
      Brad King authored
      Teach CMakePlatformId.h to construct an "INFO:compiler_version[]" string
      literal from macros COMPILER_VERSION_(MAJOR|MINOR|PATCH|TWEAK) to be
      defined in CMake(C|CXX)CompilerId.(c|cpp) for each compiler.  Provide
      conversion macros DEC() and HEX() to decode decimal or hex digits from
      integer values.  Parse the version out of the compiler id binary along
      with the other INFO values already present.
      
      Store the result in variable CMAKE_<LANG>_COMPILER_VERSION in the format
      "major[.minor[.patch[.tweak]]]".  Save the value persistently in
      CMake(C|CXX)Compiler.cmake in the build tree.  Document the variable for
      internal use since we do not set it everywhere yet.
      
      Report the compiler version on the compiler id result line e.g.
      
        The C compiler identification is GNU 4.5.2
      
      Report CMAKE_(C|CXX)_COMPILER_(ID|VERSION) in SystemInformation test.
      fa7141f5
  18. 05 Dec, 2011 2 commits
  19. 01 Dec, 2011 1 commit
    • Brad King's avatar
      export(): Document undefined behavior of location properties · fea3e84e
      Brad King authored
      Since the export() command needs to know the final location of a target
      in the build tree we cannot allow properties affecting the location or
      name of a target file to be set after the target is passed to export().
      
      Fix a violation of this rule in the SimpleInstall test.
      fea3e84e
  20. 28 Nov, 2011 1 commit
  21. 22 Nov, 2011 6 commits
  22. 16 Nov, 2011 1 commit