https://github.com/Kitware/CMake
Raw File
Tip revision: 7612abd52f192a13848a4d74191633a008892449 authored by Brad King on 20 September 2021, 16:43:52 UTC
CMake 3.21.3
Tip revision: 7612abd
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