MAP_IMPORTED_CONFIG_CONFIG

MAP_IMPORTED_CONFIG_<CONFIG>

Map from project configuration to IMPORTED target’s configuration.

Set this to the list of configurations of an imported target that may be used for the current project’s <CONFIG> configuration. Targets imported from another project may not provide the same set of configuration names available in the current project. Setting this property tells CMake what imported configurations are suitable for use when building the <CONFIG> configuration. The first configuration in the list found to be provided by the imported target is selected. If this property is set and no matching configurations are available, then the imported target is considered to be not found. This property is ignored for non-imported targets.

This property is initialized by the value of the variable CMAKE_MAP_IMPORTED_CONFIG_<CONFIG> if it is set when a target is created.

© 2000–2017 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.7/prop_tgt/MAP_IMPORTED_CONFIG_CONFIG.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部