1. 07 Oct, 2013 8 commits
    • Brad King's avatar
      Clang: Add separate "AppleClang" compiler id · ab658624
      Brad King authored
      Apple distributes their own Clang build with their own version numbers
      that differ from upstream Clang.  Use the __apple_build_version__ symbol
      to identify the Apple Clang compiler and report the Apple Build Version
      as the fourth version component in CMAKE_<LANG>_COMPILER_VERSION.  Add
      Compiler/AppleClang-<lang> and Platform/Darwin-AppleClang-<lang> modules
      that simply include the upstream equivalents.
      
      Fix comparisons of CMAKE_<LANG>_COMPILER_ID to Clang in CMake's own
      source and tests to account for AppleClang.
      ab658624
    • Stephen Kelly's avatar
      export: Add policy CMP0024 to disallow include() of export files · 904ff9fe
      Stephen Kelly authored and Brad King's avatar Brad King committed
      Currently, export() is executed at configure-time.
      
      One problem with this is that certain exported properties like
      the link interface may not be complete at the point the export() is
      encountered leading to an incorrect or incomplete exported
      representation. Additionally, the generated IMPORTED_LOCATION
      property may even be incorrect if commands following the export()
      have an effect on it.
      
      Another problem is that it requires the C++ implementation of cmake
      to be capable of computing the exported information at configure time.
      This is a limitation on the cleanup and maintenance of the code. At
      some point in the future, this limitation will be dropped and more
      implementation will be moved from cmTarget to cmGeneratorTarget.
      904ff9fe
    • Brad King's avatar
      Begin post-2.8.12 development · d4134352
      Brad King authored
      d4134352
    • Brad King's avatar
      CMake 2.8.12 · ffff99c5
      Brad King authored
      ffff99c5
    • Brad King's avatar
      Merge branch 'release' · 431eaf37
      Brad King authored
      431eaf37
    • Brad King's avatar
      Merge topic 'fix-install-include-dirs-processing' · c515dc57
      Brad King authored and Kitware Robot's avatar Kitware Robot committed
      6f98f4ac Genex: Fix processing multiple include directories for relative paths
      c515dc57
    • Stephen Kelly's avatar
      Genex: Fix processing multiple include directories for relative paths · 6f98f4ac
      Stephen Kelly authored and Brad King's avatar Brad King committed
      Re-insert the semicolon which was removed during splitting.
      
      Commit d777b8e7 (Genex: Allow relative paths in INSTALL_INTERFACE.,
      2013-07-25) introduced the prefixItems method to allow relative paths
      in the argument of the INSTALL_INTERFACE expression. That method was
      buggy in that it did not re-introduce the semicolon separator in
      the result.
      
      This bug also affects paths which are already absolute in user code.
      6f98f4ac
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · d85b0660
      Kitware Robot authored
      d85b0660
  2. 06 Oct, 2013 1 commit
  3. 05 Oct, 2013 1 commit
  4. 04 Oct, 2013 1 commit
  5. 03 Oct, 2013 2 commits
  6. 02 Oct, 2013 5 commits
    • Brad King's avatar
      Xcode: Fix OBJECT library support for Xcode 5 (#14254) · a3194ff4
      Brad King authored
      Xcode 2.1 through 4 supported $(CURRENT_ARCH) in a PBXFileReference
      'path' value used in the "Link Binary with Libraries" build phase.
      CMake uses this to reference object file locations on link lines to
      bring in OBJECT library content.  However, Xcode 5 now evaluates the
      $(CURRENT_ARCH) reference in this context as "undefined_arch" so the
      wrong path is given to the linker.  There seems to be no alternative way
      to produce an architecture-specific value in a PBXFileReference.
      
      Fortunately Xcode 5 now also handles link dependencies for paths linked
      through OTHER_LDFLAGS.  For Xcode >= 5, move the OBJECT library object
      file references from the link build phase to OTHER_LDFLAGS.  We can
      still show the object files in the source group listing in either case.
      a3194ff4
    • Brad King's avatar
      Xcode: Drop XCODE_DEPEND_HELPER for Xcode >= 5 · dff8d113
      Brad King authored
      Xcode 5.0 now computes dependencies from files linked through
      OTHER_LDFLAGS, so we no longer need the XCODE_DEPEND_HELPER hack to
      re-link dependents when targets change.
      dff8d113
    • Brad King's avatar
      Xcode: Teach Tests/BuildDepends to allow LINK_DEPENDS_NO_SHARED failure · 11803224
      Brad King authored
      Xcode 5.0 now relinks targets when their shared libraries dependencies
      are modified, and there seems to be no way to stop it.  Report this as a
      known limitation in the test output and do not fail.
      11803224
    • Brad King's avatar
      Xcode: Fix test architecture selection for Xcode >= 5 · 765b46d1
      Brad King authored
      In Tests/Architecture and Tests/BuildDepends/Project we select a set of
      OS X cpu architectures to use for the test.  Prior to Xcode 4 we always
      used i386 and ppc.  Starting with Xcode 4, the tools do not support ppc
      but do support x86_64, so we switch to that.  Fix the version check to
      recognize Xcode >= 5 as at least Xcode 4 and use the new architectures.
      765b46d1
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · c0133a58
      Kitware Robot authored
      c0133a58
  7. 01 Oct, 2013 5 commits
  8. 30 Sep, 2013 2 commits
    • Brad King's avatar
      Use first custom command for the same output (#14446) · dccd4949
      Brad King authored
      In buggy code like
      
       add_custom_command(
         OUTPUT  ${CMAKE_CURRENT_BINARY_DIR}/out.h
         MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/out.h.in
         ...)
       add_custom_command(
         OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/out.h
         ...)
      
      that has more than one rule to generate the same output CMake has always
      used the first rule.  However, since commit 2268c41a (Optimize custom
      command full-path dependency lookup, 2013-08-06) we update the map from
      output to cmSourceFile for every rule generating an output, effectively
      keeping the last command instead of the first.
      
      Fix this regression by checking for each map update if the output
      already has an entry.  If so, keep only the original entry.  The VS 8
      generator triggers this with a special case for generate.stamp rules
      that differ between ZERO_CHECK and normal targets, so do not warn for
      now.  Leave a TODO comment for warning in the future.
      dccd4949
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · 6a3958b3
      Kitware Robot authored
      6a3958b3
  9. 29 Sep, 2013 1 commit
  10. 28 Sep, 2013 1 commit
  11. 27 Sep, 2013 2 commits
  12. 26 Sep, 2013 3 commits
  13. 25 Sep, 2013 5 commits
  14. 24 Sep, 2013 3 commits