Cmake option with enum instead of bool
Cmake option looks like a boolean variable that can be only true or false. But it isn't enough sometimes. Of course, I can use cache variable with strings but I need a lot of boilerplate. Is there any other way? For example, I need something like this:
multi_option(<variable> "<help_text>" <value1> [<value2>...] [default_value])