CMake/Help/command/remove.rst
Alex Turbov 8c6274326d
Help: Use CMake highlighting for command synopsis
Most of CMake commands use it. Fix a few of them to do the same.
2022-11-09 23:52:30 +04:00

15 lines
306 B
ReStructuredText

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.