https://github.com/Kitware/CMake
Raw File
Tip revision: e14974a208edd48c43ae9a80d76ea4e511e1b540 authored by Brad King on 27 May 2020, 10:13:45 UTC
CMake 3.16.7
Tip revision: e14974a
remove.rst
remove
------

.. deprecated:: 3.0

  Use the :command:`list(REMOVE_ITEM)` command instead.

::

  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.
back to top