Another way could be:
mkdir two directory
buildflavor1
buildflavor2
In the first sub directory run:
cmake -DFLAVOR=OPTION1 ..
in the second run:
run cmake -DFLAVOR=OPTION2 ..
So two executable with same name with different compilation flag with is own feature .o
and so on.