1. 11 Jul, 2009 3 commits
  2. 10 Jul, 2009 11 commits
  3. 09 Jul, 2009 2 commits
  4. 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
  5. 07 Jul, 2009 7 commits
  6. 06 Jul, 2009 2 commits
    • Brad King's avatar
      ENH: Centralize default link interface computation · 06b0a692
      Brad King authored
      When LINK_INTERFACE_LIBRARIES is not set we use the link implementation
      to implicitly define the link interface.  These changes centralize the
      decision so that all linkable targets internally have a link interface.
      06b0a692
    • Brad King's avatar
      ENH: Move CMP0004 check into cmTarget · 26df00f8
      Brad King authored
      This moves code implementing policy CMP0004 into cmTarget::CheckCMP0004.
      The implementation is slightly simpler and can be re-used outside of
      cmComputeLinkDepends.
      26df00f8