In CMake, lists are used extensively. Sometimes you have two lists of items (strings, basically), and you want to consider their intersection, difference or union. Like in this case that just came up for me.
How do I produce such intersection, difference or union lists?
Note: The outputs need to have no duplicates, the inputs not really