mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
The operations changed here all are no-ops on empty lists anyways, so just have them succeed when given non-extant lists. - `list(REMOVE_ITEM)` - `list(REMOVE_DUPLICATES)` - `list(SORT)` - `list(FILTER)` - `list(REVERSE)`
7 lines
283 B
ReStructuredText
7 lines
283 B
ReStructuredText
better-empty-list-behavior
|
|
--------------------------
|
|
|
|
* The :command:`list` operations ``REMOVE_ITEM``, ``REMOVE_DUPLICATES``,
|
|
``SORT``, ``REVERSE``, and ``FILTER`` all now accept a non-existent variable
|
|
as the list since these operations on empty lists is also the empty list.
|