瀏覽

  • 索引
  • 下一頁 |
  • 上一頁 |
  • CMake 4.4.20260622-gee0198b »
  • 文件 »
  • cmake-屬性(7) »
  • LINK_INTERFACE_LIBRARIES_<CONFIG>

LINK_INTERFACE_LIBRARIES_<CONFIG>¶

Per-configuration list of public interface libraries for a target.

This is the configuration-specific version of LINK_INTERFACE_LIBRARIES. If set, this property completely overrides the generic property for the named configuration.

This property is overridden by the INTERFACE_LINK_LIBRARIES property if policy CMP0022 is NEW.

This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead.

Creating Relocatable Packages¶

Note that it is not advisable to populate the LINK_INTERFACE_LIBRARIES_<CONFIG> of a target with absolute paths to dependencies. That would hard-code into installed packages the library file paths for dependencies as found on the machine the package was made on.

請參閱 cmake-packages(7) 手冊的 創建可重新定位包 部分,討論在創建可分發包時指定使用要求時必須採取的額外注意事項。

目次表

  • LINK_INTERFACE_LIBRARIES_<CONFIG>
    • Creating Relocatable Packages

上個話題

LINK_INTERFACE_LIBRARIES

下個話題

LINK_INTERFACE_MULTIPLICITY

本頁

  • 顯示來源碼

快速搜尋

瀏覽

  • 索引
  • 下一頁 |
  • 上一頁 |
  • CMake 4.4.20260622-gee0198b »
  • 文件 »
  • cmake-屬性(7) »
  • LINK_INTERFACE_LIBRARIES_<CONFIG>
© 著作權 2000-2026 Kitware, Inc. and Contributors. 使用 Sphinx 8.1.3 建立。