2014-08-03 19:52:23 +02:00
|
|
|
remove
|
|
|
|
------
|
|
|
|
|
2019-11-11 23:01:05 +01:00
|
|
|
.. deprecated:: 3.0
|
|
|
|
|
|
|
|
Use the :command:`list(REMOVE_ITEM)` command instead.
|
2014-08-03 19:52:23 +02:00
|
|
|
|
2023-05-23 16:38:00 +02:00
|
|
|
.. code-block:: cmake
|
2014-08-03 19:52:23 +02:00
|
|
|
|
|
|
|
remove(VAR VALUE VALUE ...)
|
|
|
|
|
2015-11-17 17:22:37 +01:00
|
|
|
Removes ``VALUE`` from the variable ``VAR``. This is typically used to
|
|
|
|
remove entries from a vector (e.g. semicolon separated list). ``VALUE``
|
|
|
|
is expanded.
|