A Tool Variable with no extension [message #588545] |
Thu, 09 January 2003 18:15 |
Brian Bagnall Messages: 2 Registered: July 2009 |
Junior Member |
|
|
Hi,
I'm setting up custom tools in Eclipse and trying to pick out the name of a
file, without using the extension. For example if the filename is 'hello.c',
I'd like the tool arguments to pick out the name 'hello' and drop the file
extension.
I went through all the project variables supplied by Eclipse and none of
them gives this option. Do I need to create a makefile in order to have this
kind of functionality? I'm using Windows, so if there is a way to do this in
a batch file that would also be helpful.
Note: The reason for this is I need to run the compiled binary file using an
emulator. This file has no extension, and uses the same name as the main
source file.
Brian Bagnall
---------------------------------------------
My homepage http://www.mts.net/~bbagnall
|
|
|
Powered by
FUDForum. Page generated in 0.03723 seconds