[grid.provider.cube] added initializer list constructor
[cmake] use same CXX_FLAGS everywhere for the moment