Bug 203537 - Provide a resource_basename variable for make targets
Summary: Provide a resource_basename variable for make targets
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 4.0   Edit
Hardware: Other Linux
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-16 11:37 EDT by Felix Berger CLA
Modified: 2020-09-04 15:26 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Berger CLA 2007-09-16 11:37:49 EDT
Build ID: I20070625-1500

Steps To Reproduce:
It would be very useful if the basename (filename without extension) of a resource could be provided as a variable in 

Project -> Properties -> C/C++ Build -> Behaviour -> Build on resource save

In the case where a project uses Makefiles that have been generated by an external tool (e.g. cmake) and don't provide targets with the resource name, this would allow for more flexible creation of targets:

${resource_basename}.o with test.cpp would become test.o

Thanks,
Felix

More information:
Comment 1 Dirk Wibben CLA 2011-09-21 09:29:22 EDT
In

Project -> Properties > C/C++ Build -> Behaviour > Build

there also should be a variable

'selected_resource_basename'

available.

Regards
Dirk