I would like to change the dynamic variable ${selected_resource_loc} such that I get rid of the extension (and can add another one).
The purpose is to build the current selected file, but therefore I don't need the .cc-file in my command but the .o-file with the same name.
Detailed description:
I have a customized make command (lets say make
) and would like to execute make selectedFileName.o
, where the current selected file in eclipse is selectedFileName.cc. (I put the command as build command in project properties -> C/C++ Build.) With variable ${selected_resource_loc}
in behaviour tab I get make selectedFileName.cc
.
I solved my problem by writing a skript where I modify the
${selected_resource_loc}
and included it via external tools in eclipse.