gather cpp flags