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 

Re: Extending scope

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





PostPosted: Fri Jul 15, 2005 9:46 pm    Post subject: Re: Extending scope Reply with quote



Hello friends,

To extend scope I know that I need to add a "-Vd" option.

Editing the associated <filename>.bpr.xml file and adding this option in
<cflag>, doesn't seem to impress the compiler - I still don't have the scope
that I want and 2nd, reopening the project shows no sign of the option
previously added to the <bpr.xml> file.

How do I get around this annoying problem,

Thanks,
Kenneth


Back to top
Craig Farrell
Guest





PostPosted: Fri Jul 15, 2005 9:58 pm    Post subject: Re: Extending scope Reply with quote



Hi,


Quote:
Editing the associated <filename>.bpr.xml file and adding this option in



When I add that flag via Project | Edit Option Source it sticks for me
without any special action (just Save All). My addition looked like:
<CFLAG1 value="-vGc -vGt -vGd -Vd -Od -H=$(BCB)libvcl60.csm -Hc
-Vx -Ve -X- -r- -a8 -b-
-k -y -v -vi- -c -tW -tWM"/>

For some edits to the options source (like packages and libraries)
it is necessary to bring up the Project Options dialog and click
OK to "Apply" the edit over the IDE's cached image. Other options
like trying to remove a needed dependency seem to always be overriden.

You can always show the command line in the IDE message window by
setting this Registry entry:

[HKEY_CURRENT_USERSoftwareBorlandC++Builder6.0Compiling]
"Show Compiler Progress"="True"



--Craig


Back to top
Craig Farrell
Guest





PostPosted: Fri Jul 15, 2005 10:00 pm    Post subject: Re: Extending scope Reply with quote





Quote:
[HKEY_CURRENT_USERSoftwareBorlandC++Builder6.0Compiling]
"Show Compiler Progress"="True"

Sorry, that should be...

[HKEY_CURRENT_USERSoftwareBorlandC++Builder6.0Compiling]
"ShowCommandLine"="True"


Back to top
Kenneth Kramer
Guest





PostPosted: Fri Jul 15, 2005 10:54 pm    Post subject: Re: Extending scope Reply with quote

Thank you for your prompt response, Graig:

The problem remains the same. After adding the "-Vd" option, saving, and
reopening, here's what I (still) got:

<CFLAG1
value="-Od -H=$(BCB)libvcl60.csm -Hc -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi-
-c
-tW -tWM"/>

This is what would make me happy:

<CFLAG1
value="-Od -H -Vd=$(BCB)libvcl60.csm -Hc -Vx -Ve -X- -r- -a8 -b- -k -y -v
-vi- -c
-tW -tWM"/>

Thanks,
Kenneth


Back to top
Craig Farrell
Guest





PostPosted: Fri Jul 15, 2005 11:16 pm    Post subject: Re: Extending scope Reply with quote

Hi again,

I guess it matters where you add the switch. I tried it
at the very end and it persists after IDE and project
close and reopen.

--Craig

Back to top
Craig Farrell
Guest





PostPosted: Fri Jul 15, 2005 11:24 pm    Post subject: Re: Extending scope Reply with quote



Oop, I should have checked before. This option is settable
in the Project Options | C++ page. Much better/easier to
set it that way ;-)

--Craig

Back to top
Kenneth Kramer
Guest





PostPosted: Sat Jul 16, 2005 11:46 am    Post subject: Re: Extending scope Reply with quote

Hi,

I checked the Project Options | C++ page before I entered the newsgroup
today - and guess what, it's works!

You have been very helpful.

Thank you, Craig.

Kenneth


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.