Globally compiler settings are normally not needed,
project wide settings are good for things like "-Wall" or "-fexceptions" that are needed by all targets (for example debug and release),
the target settings are used to optimize targets, the "-g" or "-pg" switch only makes sense for the debug target, all optimization-switches ("-Ox") or "-s" only make sense for targets that are not debug targets.