Lines Matching full:lists
115 Lists section in Variables, Types, and Scope
118 In CMake lists are semi-colon delimited strings, and it is strongly advised that
119 you avoid using semi-colons in lists; it doesn't go smoothly. A few examples of
120 defining lists:
131 Lists of Lists
134 One of the more complicated patterns in CMake is lists of lists. Because a list
135 cannot contain an element with a semi-colon to construct a list of lists you
136 make a list of variable names that refer to other lists. For example:
145 With this layout you can iterate through the list of lists printing each value
150 foreach(list_name IN LISTS list_of_lists)
151 foreach(value IN LISTS ${list_name})
244 lists, values to iterate, or a mix of both:
288 foreach(var IN LISTS my_list)
296 foreach(var IN LISTS my_list ITEMS out_of_bounds)
384 foreach(var IN LISTS my_list)