BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

specify executable name

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
Mark Mussetter
Guest





PostPosted: Mon Sep 19, 2005 5:01 pm    Post subject: specify executable name Reply with quote



If I have a project named Test.bpr, is there a way that I could specify
the name of the executable that gets built?

Could I name it MyTestExecutable.exe, for example?

Is there something similar to the command line argument that you can use
with bcc (bcc ... -o filename)?
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Mon Sep 19, 2005 5:18 pm    Post subject: Re: specify executable name Reply with quote




"Mark Mussetter" <mark (AT) link-comm (DOT) com> wrote


Quote:
If I have a project named Test.bpr, is there a way that I
could specify the name of the executable that gets built?

Starting in BCB5, the executable filename is stored in the bpr file. You
can try using an extenal text editor to change the executable filename
namually. I do not know if it will actually work, though. The executable
filename is based on the project name, so it may cause problems for the IDE
if the two do not match.

Why not just rename the file after it is built?


Gambit



Back to top
Jonathan Benedicto
Guest





PostPosted: Mon Sep 19, 2005 5:57 pm    Post subject: Re: specify executable name Reply with quote



"Mark Mussetter" <mark (AT) link-comm (DOT) com> wrote

Quote:
If I have a project named Test.bpr, is there a way that I could specify
the name of the executable that gets built?

Could I name it MyTestExecutable.exe, for example?

Is there something similar to the command line argument that you can use
with bcc (bcc ... -o filename)?

Are you compiling from the command line ?

Jonathan



Back to top
Mark Mussetter
Guest





PostPosted: Mon Sep 19, 2005 7:31 pm    Post subject: Re: specify executable name Reply with quote

Remy Lebeau (TeamB) wrote:
Quote:

Starting in BCB5, the executable filename is stored in the bpr file. You
can try using an extenal text editor to change the executable filename
namually. I do not know if it will actually work, though. The executable
filename is based on the project name, so it may cause problems for the IDE
if the two do not match.

Ahhh...thanks for the tip. I'll give it a try.

Quote:

Why not just rename the file after it is built?

I suppose I could do that just as easily.

Quote:


Gambit


Thanks for the help,

Mark

Back to top
Mark Mussetter
Guest





PostPosted: Mon Sep 19, 2005 7:33 pm    Post subject: Re: specify executable name Reply with quote

Jonathan Benedicto wrote:

Quote:

Are you compiling from the command line ?

No, I'm compiling from within the IDE with Ctrl-F9. I was just
referring to the command line "-o" argument to try to explain what I
wanted to do with the executable name.

Quote:

Jonathan



Mark

Back to top
Jonathan Benedicto
Guest





PostPosted: Mon Sep 19, 2005 10:43 pm    Post subject: Re: specify executable name Reply with quote

"Mark Mussetter" <mark (AT) link-comm (DOT) com> wrote

Quote:
No, I'm compiling from within the IDE with Ctrl-F9. I was just referring
to the command line "-o" argument to try to explain what I wanted to do
with the executable name.

OK. Because if you were compiling from the command line, I think that you'd
just have to invoke the compiler like this:

make -DPROJECT="MyTestExecutable.exe" -f Test.mak

to get it to change the filename.

Jonathan



Back to top
Mark Mussetter
Guest





PostPosted: Tue Sep 20, 2005 2:25 pm    Post subject: Re: specify executable name Reply with quote

Jonathan Benedicto wrote:
Quote:

OK. Because if you were compiling from the command line, I think that you'd
just have to invoke the compiler like this:

make -DPROJECT="MyTestExecutable.exe" -f Test.mak

to get it to change the filename.

Jonathan



Thank you for that information. It will come in handy if I ever need to
compile via command line.

Thanks,

Mark

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.