optimize buildprocess

Hello,
building a Gtkmm-programm (and its dependencies) with the wrong compilerdialekt (requires >= ISO C++ 2011) produces lots of unnessessary messages. Thereby important things scrolls out of buffer, because the preprocessor directive #error dont stops processing. I know i can build manually with preprocessor option -E (preprocess only).
What i want is to automatically build the project when (preprocessing only) returns no error, so manually switching among normal building and preprocessing only can cancelled.

I use Eclipse 3.8.1 for this project.
OS is Linux
Compiler g++
Topic archived. No new replies allowed.