1. 13 Jul, 2009 2 commits
  2. 12 Jul, 2009 3 commits
  3. 11 Jul, 2009 6 commits
  4. 10 Jul, 2009 11 commits
    • Brad King's avatar
      BUG: Fix Xcode linker language · a232dbe8
      Brad King authored
      Xcode does not seem to support direct requests for using the linker for
      a particular language.  It always infers the linker using the languages
      in the source files.  When no user source files compile with target's
      linker language we add one to help Xcode pick the linker.
      
      A typical use case is when a C executable links to a C++ archive.  The
      executable has no C++ source files but we need to use the C++ linker.
      a232dbe8
    • Brad King's avatar
      ENH: Update LINKER_LANGUAGE and HAS_CXX docs · bb2228ea
      Brad King authored
      This updates the documentation of these properties to account for the
      new automatic linker language computation.
      bb2228ea
    • Brad King's avatar
      ENH: Test transitive link languages · 22b96543
      Brad King authored
      This test creates a C executable that links to a C++ static library.  On
      most platforms the executable will not link unless the C++ linker is
      chosen correctly.
      22b96543
    • Brad King's avatar
      ENH: Consider link dependencies for link language · 19792bf3
      Brad King authored
      This teaches cmTarget to account for the languages compiled into link
      dependencies when determining the linker language for its target.
      
      We list the languages compiled into a static archive in its link
      interface.  Any target linking to it knows that the runtime libraries
      for the static archive's languages must be available at link time.  For
      now this affects only the linker language selection, but later it will
      allow CMake to automatically list the language runtime libraries.
      19792bf3
    • Brad King's avatar
      COMP: Fix cmCTestHG for old HP compiler · ea00bb99
      Brad King authored
      The compiler does not have a fully compliant std::string.
      ea00bb99
    • Bill Hoffman's avatar
      a4dff91c
    • Brad King's avatar
      ENH: Teach CTest to handle Mercurial repositories · d4d467db
      Brad King authored
      This creates cmCTestHG to drive CTest Update handling on hg-based work
      trees.  Currently we always update to the head of the remote tracking
      branch (hg pull), so the nightly start time is ignored for Nightly
      builds.  A later change will address this.
      
      See issue #7879.  Patch from Emmanuel Christophe.  I modified the patch
      slightly for code style, to finish up some parsing details, and to fix
      the test.
      d4d467db
    • Brad King's avatar
      ENH: New OutputParser::Process() signature · c0e8c0f5
      Brad King authored
      This overload accepts a null-terminated string instead of requiring a
      length.  It is useful to pass some fake process output before and after
      the real process output.
      c0e8c0f5
    • David Cole's avatar
      COMP: Mask out shadowed declaration warnings that always follow already masked... · f673294a
      David Cole authored
      COMP: Mask out shadowed declaration warnings that always follow already masked Utilities/cmtar warnings.
      f673294a
    • Bill Hoffman's avatar
      ENH: only 5 failing tests for VS 10 · 5c4208f5
      Bill Hoffman authored
      5c4208f5
    • Brad King's avatar
      STYLE: Nightly Date Stamp · 3199db47
      Brad King authored
      3199db47
  5. 09 Jul, 2009 2 commits
  6. 08 Jul, 2009 15 commits
    • David Cole's avatar
      COMP: Eliminate "conversion may change sign of result" warnings by using... · 02c96334
      David Cole authored
      COMP: Eliminate "conversion may change sign of result" warnings by using size_t where appropriate. (Missed one warning with last commit: add a cast to md5_word_t.)
      02c96334
    • David Cole's avatar
    • Brad King's avatar
      COMP: Fix KWSys SharedForward sign conversion · 6028f3a4
      Brad King authored
      This uses size_t where necessary to avoid size_t/int conversion
      warnings.
      6028f3a4
    • Brad King's avatar
      COMP: Fix KWSys SharedForward pointer const-ness · 4c0bbe38
      Brad King authored
      This adds const-ness and casts where necessary to avoid pointer
      conversion warnings.
      4c0bbe38
    • David Cole's avatar
    • Brad King's avatar
      BUG: Use link language for target name computation · 99e43250
      Brad King authored
      The commit "Do not compute link language for LOCATION" was wrong.  The
      variables
      
        CMAKE_STATIC_LIBRARY_PREFIX_Java
        CMAKE_STATIC_LIBRARY_SUFFIX_Java
      
      are used for building Java .jar files.  This commit re-enables the
      feature and documents the variables:
      
        CMAKE_EXECUTABLE_SUFFIX_<LANG>
        CMAKE_IMPORT_LIBRARY_PREFIX_<LANG>
        CMAKE_IMPORT_LIBRARY_SUFFIX_<LANG>
        CMAKE_SHARED_LIBRARY_PREFIX_<LANG>
        CMAKE_SHARED_LIBRARY_SUFFIX_<LANG>
        CMAKE_SHARED_MODULE_PREFIX_<LANG>
        CMAKE_SHARED_MODULE_SUFFIX_<LANG>
        CMAKE_STATIC_LIBRARY_PREFIX_<LANG>
        CMAKE_STATIC_LIBRARY_SUFFIX_<LANG>
      
      Instead of making separate, repetitive entries for the _<LANG> variable
      documentation, we just mention the per-language name in the text of the
      platform-wide variable documentation.  Internally we keep undocumented
      definitions of these properties to satisfy CMAKE_STRICT mode.
      99e43250
    • Brad King's avatar
      ENH: Pass config to cmTarget::GetLinkerLanguage · 173448d9
      Brad King authored
      This passes the build configuration to most GetLinkerLanguage calls.  In
      the future the linker language will account for targets linked in each
      configuration.
      173448d9
    • Brad King's avatar
      ENH: Pass config to cmTarget RPATH install methods · a3a04664
      Brad King authored
      This passes the build configuration to cmTarget methods IsChrpathUsed
      and NeedRelinkBeforeInstall.  Later these methods will use the value.
      a3a04664
    • Brad King's avatar
      ENH: Use fixed header file type mapping for Xcode · 6ef56f77
      Brad King authored
      This simplifies computation of the lastKnownFileType attribute for
      header files in Xcode projects.  We now use a fixed mapping from
      header file extension to attribute value.  The value is just a hint to
      the Xcode editor, so computing the target linker language is overkill.
      6ef56f77
    • Brad King's avatar
      ENH: Do not compute link language for LOCATION · 2b5d9741
      Brad King authored
      The LOCATION property requires the full file name of a target to be
      computed.  Previously we computed the linker language for a target to
      look up variables such as CMAKE_SHARED_LIBRARY_SUFFIX_<LANG>.  This led
      to locating all the source files immediately instead of delaying the
      search to generation time.  In the future even more computation will be
      needed to get the linker language, so it is better to avoid it.
      
      The _<LANG> versions of these variables are undocumented, not set in any
      platform file we provide, and do not produce hits in google.  This
      change just removes the unused feature outright.
      2b5d9741
    • Brad King's avatar
      ENH: Introduce cmTarget::LinkImplementation API · 7c67524d
      Brad King authored
      The new method centralizes loops that process raw OriginalLinkLibraries
      to extract the link implementation (libraries linked into the target)
      for each configuration.  Results are computed on demand and then cached.
      This simplifies link interface computation because the default case
      trivially copies the link implementation.
      7c67524d
    • Brad King's avatar
      ENH: Remove CMAKE_ANSI_CFLAGS from tests · d1aa17a7
      Brad King authored
      As of CMake 2.6 this variable is not defined, and the ANSI flags for the
      HP compiler are simply hard-coded in the default C flags.
      d1aa17a7
    • Brad King's avatar
      ENH: Identify HP C compiler · a30a41e5
      Brad King authored
      This compiler does not enable ANSI mode by default.  When identifying
      the C compiler we try passing -Aa in case it is the HP compiler.
      a30a41e5
    • Brad King's avatar
      COMP: Pimplize cmTarget ImportInfo and OutputInfo · aef8fe50
      Brad King authored
      These member structures are accessed only in the cmTarget implementation
      so they do not need to be defined in the header.  This cleanup also aids
      Visual Studio 6 in compiling them.
      aef8fe50
    • Brad King's avatar
      STYLE: Nightly Date Stamp · bb9c0af7
      Brad King authored
      bb9c0af7
  7. 07 Jul, 2009 1 commit