Thanks guys. I had a feeling this would be
difficult. And it actually points out that I should be enumerating the versions
that I support and make sure that the options are appropriately defined for
those versions. I can use isToolChainSupported to make sure I have that version
installed, which I assume is the way it was intended to work J.
Thanks again!
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Sennikovsky, Mikhail
Sent: Monday, May 29, 2006 1:24 PM
To: CDT General developers list.
Subject: RE: [cdt-dev] MBS
Question
Hi Leo,
Correct me if I’m wrong, but it seems that the current multi
version support does not provide the capability for dynamic calculation of the
tool-chains really installed on the system. But what it does is allows
converting from one tool-chain to another based upon the converter info defined
without taking into account whether or not the tool-chain is installed on the
system or not.
Mikhail
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Treggiari,
Leo
Sent: Monday, May 29, 2006 9:07 PM
To: CDT
General developers list.
Subject: RE: [cdt-dev] MBS
Question
Hi Doug,
I can’t remember anyone trying to implement a dynamic list of
enumerated options, but it probably can be done. The Option class has an
enumList member that contains the list of enumerated values. You could
probably modify the list after your tool-chain was loaded.
Ø
Alternatively, did we ever add the
ability for an ISV to add in a customer edit dialog for an option?
No.
Ø
We have a few different versions of
our compiler that may be installed on the user’s system at any time.
MBS does
have “multi-version” support. This is a somewhat
“heavy-weight” mechanism and is appropriate when the versions
support different options.
I also
defined a “multi-instance” support a while back (2 yrs ago?) which
is lighter weight and appropriate when the versions use the same option pages,
but this has not been implemented.
Regards,
Leo
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Doug Schaefer
Sent: Monday, May 29, 2006 12:31
PM
To: CDT
General developers list.
Subject: [cdt-dev] MBS Question
Hey gang, for this e-mail,
I’ve put on my QNX software developer hat and I have a question on MBS.
And, yes, this may be a newsgroup question J, but it is
also more an ISV question.
We have a few different versions of
our compiler that may be installed on the user’s system at any time. I
know how to dynamically get the list of installed versions and I want to
present that list in a tools option on the compiler so the user can select
which version to use. Is there a way to dyanically fill out the list of
enumeration values. Alternatively, did we ever add the ability for an ISV to
add in a customer edit dialog for an option?
Thanks, and sorry for sounding like
a newbie J.
Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, Tools PMC
member
http://cdtdoug.blogspot.com