[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.cdt] Re: Build variable for directory of "selected resource"?

Axel Mueller wrote:

Toralf Lund wrote:

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?
Does $selected_resource_name exist?

Yes. It returns the inverse of what I want, in a sense, i.e. it gives me $selected_resource_loc with the directory component returned.


But perhaps I can ask for $selected_resource_loc minus $selected_resource_name, if you know what I mean?

- Toralf