Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Project Variables
Project Variables [message #57260] Wed, 08 January 2003 14:41
Eclipse UserFriend
Originally posted by: bbagnall.escape.ca

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. I'm using Windows, so if there is a way to do this
in a batch file that would also be helpful.

Do I need to create a makefile in order to have this kind of functionality?

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
Previous Topic:Borland compiler?
Next Topic:Bug in highlighting?
Goto Forum:
  


Current Time: Fri May 09 16:31:28 EDT 2025

Powered by FUDForum. Page generated in 0.03616 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top