Server IP : 51.89.169.208 / Your IP : 216.73.216.52 Web Server : Apache System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 User : yellowleaf ( 1019) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/cmake/Help/prop_tgt/ |
Upload File : |
IMPORTED_GLOBAL --------------- .. versionadded:: 3.11 Indication of whether an :ref:`IMPORTED target <Imported Targets>` is globally visible. The boolean value of this property is True for targets created with the ``IMPORTED`` ``GLOBAL`` options to :command:`add_executable()` or :command:`add_library()`. It is always False for targets built within the project. For targets created with the ``IMPORTED`` option to :command:`add_executable()` or :command:`add_library()` but without the additional option ``GLOBAL`` this is False, too. However, setting this property for such a locally ``IMPORTED`` target to True promotes that target to global scope. This promotion can only be done in the same directory where that ``IMPORTED`` target was created in the first place. .. note:: Once an imported target has been made global, it cannot be changed back to non-global. Therefore, if a project sets this property, it may only provide a value of True. CMake will issue an error if the project tries to set the property to a non-True value, even if the value was already False. .. note:: Local :ref:`ALIAS targets <Alias Targets>` created before promoting an :ref:`IMPORTED target <Imported Targets>` from ``LOCAL`` to ``GLOBAL``, keep their initial scope (see :prop_tgt:`ALIAS_GLOBAL` target property).