gbe_fork/cmake/share/cmake-3.27/Help/command/remove.rst

15 lines
320 B
ReStructuredText
Raw Normal View History

2023-12-17 02:31:59 +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.