summaryrefslogtreecommitdiff
path: root/Help/command/remove.rst
blob: e12a9371b7fd797f8ead99a22d4323c94f428087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.