1. 07 Oct, 2013 9 commits
    • Stephen Kelly's avatar
    • Stephen Kelly's avatar
      435c9128
    • Stephen Kelly's avatar
      Add the INTERFACE_LIBRARY target type. · fe732264
      Stephen Kelly authored
      This target type only contains INTERFACE_* properties, so it can be
      used as a structural node. The target-specific commands enforce
      that they may only be used with the INTERFACE keyword when used
      with INTERFACE_LIBRARY targets. The old-style target properties
      matching LINK_INTERFACE_LIBRARIES_<CONFIG> are always ignored for
      this target type.
      
      The name of the INTERFACE_LIBRARY must match a validity generator
      expression. The validity is similar to that of an ALIAS target,
      but with the additional restriction that it may not contain
      double colons. Double colons will carry the meaning of IMPORTED
      or ALIAS targets in CMake 2.8.13.
      
      An ALIAS target may be created for an INTERFACE library.
      
      At this point it can not be exported and does not appear in the
      buildsystem and project files are not created for them. That may
      be added as a feature in a later commit.
      
      The generators need some changes to handle the INTERFACE_LIBRARY
      targets returned by cmComputeLinkInterface::GetItems. The Ninja
      generator does not use that API, so it doesn't require changes
      related to that.
      fe732264
    • 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
      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
      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 2 commits
    • Patrick Gansterer's avatar
      MSVC: Fix WinCE arch family preprocessor symbol (#14436) · 0b15ffc7
      Patrick Gansterer authored
      In commit bd827f98 (Use COFF file header header for architecture
      detection, 2013-08-05) the MSVC_<lang>_ARCHITECTURE_ID value computed by
      CMakeDetermineCompilerId.cmake changed for WinCE architectures to be the
      exact architecture read from the PE header.  Fix platform preprocessor
      definitions in Modules/Platform/Windows-MSVC.cmake to correspond to the
      architecture family (ARM or SHx) instead of the specific architecture.
      0b15ffc7
    • Brad King's avatar
      Merge topic 'wince-corelibc' · faef6b4e
      Brad King authored
      e63cf5f0 MSVC: Fix version test for linking corelibc on Windows CE (#14420)
      faef6b4e