qt-build-tools/6.5.3/_tools/cmake/share/cmake-3.27/Help/command/remove.rst

15 lines
306 B
ReStructuredText
Raw Normal View History

2023-11-01 06:11:15 +08:00
remove
------
.. deprecated:: 3.0
Use the :command:`list(REMOVE_ITEM)` command instead.
2023-11-01 08:44:24 +08:00
.. code-block:: cmake
2023-11-01 06:11:15 +08:00
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.