In CDT 6.0, is there a build variable containing the directory component
of the current file, i.e. the "selected resource" in Eclipse terminology?
(I'm not able to spot one when browsing the list.) Alternatively, can I
manipulate the corresponding file name variable (which does exist - it's
$selected_resource_loc) so that the directory name only is returned? (And
is the variable expansion syntax documented anywhere?)
In case you wondered, I want to use this to set up a build configuration
that runs a "local" make on one directory - where the project contains
multiple directories with a recursive make setup.