Currently the configuration step involves calling the build_cmake.sh
script and set the arguments so that it also builds the first group of
targets. But doing this discards the generator flags, making target
groups inconsistent against each other.
This diff always set the --no-build flag for the configure step and
build all the targets with the same flags.
Depends on D7380.