Skip to content
Snippets Groups Projects
  1. Aug 19, 2008
  2. Aug 18, 2008
    • Brad King's avatar
      ENH: Improve errors when a policy is REQUIRED · f50ed1fd
      Brad King authored
      In the future some policies may be set to REQUIRED_IF_USED or
      REQUIRED_ALWAYS.  This change clarifies the error messages users receive
      when violating the requirements.
      f50ed1fd
    • Brad King's avatar
      ENH: Add UNKNOWN type for IMPORTED libraries · 061d20be
      Brad King authored
      When creating an IMPORTED target for a library that has been found on
      disk, it may not be known whether the library is STATIC or SHARED.
      However, the library may still be linked using the file found from disk.
      Use of an IMPORTED target is still important to allow per-configuration
      files to be specified for the library.
      
      This change creates an UNKNOWN type for IMPORTED library targets.  The
      IMPORTED_LOCATION property (and its per-config equivalents) specifies
      the location of the library.  CMake makes no assumptions about the
      library that cannot be inferred from the file on disk.  This will help
      projects and find-modules import targets found on disk or specified by
      the user.
      061d20be
    • Brad King's avatar
      STYLE: Convert unused target type cases to default · 0bf093fd
      Brad King authored
      In switch statements that deal with only a few target types, use a
      'default' case for the remaining target types instead of listing them
      explicitly.  This will make it easier to add more types in the future.
      0bf093fd
    • Brad King's avatar
      ENH: Make link interface mode more distinct · 94c1fe83
      Brad King authored
      Rename the recently added INTERFACE mode of the target_link_libraries()
      command to LINK_INTERFACE_LIBRARIES.  This makes it much more distinct
      from a normal call to the command, and clearly states its connection to
      the property of the same name.  Also require the option to appear
      immediately after the target name to make it a mode rather than an
      option.
      94c1fe83
    • Brad King's avatar
      ENH: Add cmake_policy(GET) command mode · 7f7068e9
      Brad King authored
      It is likely that projects or CMake modules in the future will need to
      check the value of a policy setting.  For example, if we add a policy
      that affects the results of FindXYZ.cmake modules, the module code will
      need to be able to check the policy.
      7f7068e9
    • Brad King's avatar
      STYLE: Nightly Date Stamp · f2d2a82c
      Brad King authored
      f2d2a82c
  3. Aug 17, 2008
  4. Aug 16, 2008
  5. Aug 15, 2008
  6. Aug 14, 2008
  7. Aug 13, 2008
  8. Aug 12, 2008
Loading