at this time, i talk about C++ Tool of Command Line Utility.
1)expand Targets. after that expand your project.
2)you can see Compile Sources. expand it and click a right mouse button and select Get Info.
3)Select a tab "Build". You can see "Additional Compiler Flags". input compiler options that text area.
this is how to set compiling options. as for the rest, just push the Build button.
check this too.