just a quickie.

when using Kate to edit and compile c++ files is there a syntax to use in the quick compile settings to use the same name as the current file for the output?

Currently it uses a.out as the default file name. My current setting is .
Code:
g++ -Wall -g %f