Skip to content
Snippets Groups Projects
  1. Nov 05, 2013
  2. Nov 04, 2013
  3. Nov 03, 2013
    • Brad King's avatar
      CMP0022: Warn about a given target at most once · 0a561a03
      Brad King authored
      Since cmTarget::ComputeLinkInterface is called separately for each
      "head" target that links a target, the warning we produce when
      CMP0022 is not set could be repeated.  Add explicit logic to allow
      the warning to appear at most once.  Multiple copies of the warning
      for the same target are almost always identical and therefore
      redundant.  In the rare case that two copies of the warning are
      different, the second can appear in a future run after the first
      is fixed.
      0a561a03
  4. Nov 02, 2013
  5. Nov 01, 2013
    • Brad King's avatar
      Check for OBJECT_LIBRARY source files at start of generation · 5a2fc3d6
      Brad King authored
      Teach cmGlobalGenerator::CheckTargets to include OBJECT_LIBRARY targets
      in the check for source file existence.
      
      Extend the RunCMake.ObjectLibrary test to cover this case.
      5a2fc3d6
    • Brad King's avatar
      Genex: Reject $<TARGET_FILE:...> for object libraries (#14532) · d9605897
      Brad King authored
      Teach the cmGeneratorExpressionEvaluator filesystem artifact logic
      to reject OBJECT_LIBRARY targets since they have no main artifact.
      Without the explicit rejection evaluation falls through to an
      internal CMake error message in cmTarget::GetOutputInfo.
      
      Extend the RunCMake.GeneratorExpression test to cover these cases.
      d9605897
  6. Oct 26, 2013
    • Stephen Kelly's avatar
      Don't add invalid content to static lib INTERFACE_LINK_LIBRARIES. · 239b0c6b
      Stephen Kelly authored and Brad King's avatar Brad King committed
      Only valid target names or generator expressions may appear in
      the target field of a LINK_ONLY expression.
      
      Other content like link flags should still be added to that property
      (wrapped in config-specific generator expressions), but not wrapped
      in LINK_ONLY. Otherwise undue warnings would be issued for the
      policy CMP0022.
      
      The LINK_ONLY expression only has an effect for actual target
      names anyway, so there is no logical deficit.
      239b0c6b
  7. Oct 23, 2013
  8. Oct 18, 2013
    • Brad King's avatar
      MSVC: Add /FS flag for cl >= 18 to allow parallel compilation (#14492) · 216afc8a
      Brad King authored
      In generators such as Ninja that can run multiple "cl" processes that
      refer to the same compiler .pdb file (/Fd) at the same time, MSVC from
      Visual Studio 2013 complains:
      
       fatal error C1041: cannot open program database '.../vc120.pdb';
       if multiple CL.EXE write to the same .PDB file, please use /FS
      
      According to "cl /?":
      
       /FS force to use MSPDBSRV.EXE
      
      Add the flag to compilation lines for this compiler version just after the
      /Fd option.
      216afc8a
  9. Oct 11, 2013
  10. Oct 07, 2013
  11. Oct 06, 2013
  12. Oct 05, 2013
  13. Oct 04, 2013
  14. Oct 03, 2013
  15. Oct 02, 2013
    • 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
Loading