As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
g++ -o myExecutable myFile.cpp
This is done by selecting the "Full command line" option Under menu "Settings" -> "Compiler and Debugger" -> Global compiler settings -> [the compiler you use] -> "Other Setting" tab, "Compiler logging"