qt-build-tools/6.6.0/_tools/cmake/share/cmake-3.27/Help/command/remove.rst

15 lines
306 B
ReStructuredText
Raw Normal View History

2023-11-02 05:26:17 +08:00
remove
------
.. deprecated:: 3.0
Use the :command:`list(REMOVE_ITEM)` command instead.
.. code-block:: cmake
remove(VAR VALUE VALUE ...)
Removes ``VALUE`` from the variable ``VAR``. This is typically used to
remove entries from a vector (e.g. semicolon separated list). ``VALUE``
is expanded.