(G)UIs would support it as a kind of combobox. Additionally to that cmake or a macro could do the validation during the generation step. I only had that need for a little GUI thing. Our software can be configured in many ways, so On/Off is not very comfortable, but some kind of partly checked enum-like string values would be fine.. kind regards Andreas