https://github.com/Kitware/CMake
Raw File
Tip revision: 9cfff766eb26ab8b29aa509e42d6b367dd00c7b7 authored by Brad King on 15 November 2023, 13:55:18 UTC
CMake 3.27.8
Tip revision: 9cfff76
remove.rst
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.
back to top