Files
CMake/Help/prop_tgt/ALIAS_GLOBAL.rst
Kitware Robot 496ec6036f Help: Add Sphinx 'versionadded' directives to each top-level document
Run the `Utilities/Sphinx/update_versions.py` script to add initial
markup to every top-level document and find module.

Issue: #19715
2020-07-06 10:23:20 -04:00

20 lines
648 B
ReStructuredText

ALIAS_GLOBAL
------------
.. versionadded:: 3.18
Read-only property indicating of whether an :ref:`ALIAS target <Alias Targets>`
is globally visible.
The boolean value of this property is ``TRUE`` for aliases to
:ref:`IMPORTED targets <Imported Targets>` created
with the ``GLOBAL`` options to :command:`add_executable()` or
:command:`add_library()`, ``FALSE`` otherwise. It is undefined for
targets built within the project.
.. note::
Promoting an :ref:`IMPORTED target <Imported Targets>` from ``LOCAL``
to ``GLOBAL`` scope by changing the value or :prop_tgt:`IMPORTED_GLOBAL`
target property do not change the scope of local aliases.