https://github.com/Kitware/CMake
Raw File
Tip revision: 618fdc1c42e127e5807c4b863dd7823a8093c15e authored by Brad King on 06 December 2023, 13:57:42 UTC
CMake 3.28.0
Tip revision: 618fdc1
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