summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/IMPORTED_OBJECTS_CONFIG.rst
blob: 238395a23c617d8d229e2c06a339e5a354e783c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
IMPORTED_OBJECTS_<CONFIG>
-------------------------

.. versionadded:: 3.9

``<CONFIG>``-specific version of :prop_tgt:`IMPORTED_OBJECTS` property.

Configuration names correspond to those provided by the project from
which the target is imported.


Xcode Generator Considerations
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Do not use this ``<CONFIG>``-specific property if you need to use Xcode
variables like ``$(CURRENT_ARCH)`` or ``$(EFFECTIVE_PLATFORM_NAME)`` in
the value.  The ``<CONFIG>``-specific properties will be ignored in such
cases because CMake cannot determine whether a file exists at the
configuration-specific path at configuration time.  For such cases, use
:prop_tgt:`IMPORTED_OBJECTS` instead.