Help: Format MAP_IMPORTED_CONFIG_<CONFIG> documentation

This commit is contained in:
Brad King 2016-10-20 11:28:39 -04:00
parent 96f6fe6b57
commit 60d73393a5

View File

@ -1,19 +1,20 @@
MAP_IMPORTED_CONFIG_<CONFIG> MAP_IMPORTED_CONFIG_<CONFIG>
---------------------------- ----------------------------
Map from project configuration to IMPORTED target's configuration. Map from project configuration to
:ref:`imported target <IMPORTED targets>`'s configuration.
Set this to the list of configurations of an imported target that may Set this to the list of configurations of an imported target that may
be used for the current project's <CONFIG> configuration. Targets be used for the current project's ``<CONFIG>`` configuration. Targets
imported from another project may not provide the same set of imported from another project may not provide the same set of
configuration names available in the current project. Setting this configuration names available in the current project. Setting this
property tells CMake what imported configurations are suitable for use property tells CMake what imported configurations are suitable for use
when building the <CONFIG> configuration. The first configuration in when building the ``<CONFIG>`` configuration. The first configuration in
the list found to be provided by the imported target is selected. If the list found to be provided by the imported target is selected. If
this property is set and no matching configurations are available, this property is set and no matching configurations are available,
then the imported target is considered to be not found. This property then the imported target is considered to be not found. This property
is ignored for non-imported targets. is ignored for non-imported targets.
This property is initialized by the value of the variable This property is initialized by the value of the
CMAKE_MAP_IMPORTED_CONFIG_<CONFIG> if it is set when a target is :variable:`CMAKE_MAP_IMPORTED_CONFIG_<CONFIG>` variable if it is set when a
created. target is created.