Getting managed build configuration name programmatically. [message #205180] |
Mon, 19 November 2007 11:04  |
Eclipse User |
|
|
|
Hi,
I am currently working on a plug-in that works together with the CDT 4.0.
How can I get programmatically, from my plugin, the current build
configuration name (for example Debug or Release) of a given managed C
project.
Best regards,
Gaetan MORICE
Solutions & Technologies
ANYWARE TECHNOLOGIES
www.anyware-tech.com
|
|
|
Re: Getting managed build configuration name programmatically. [message #205205 is a reply to message #205180] |
Mon, 19 November 2007 20:44  |
Eclipse User |
|
|
|
Originally posted by: ronbermejo.yahoo.com
Hello Gaetan,
This should work:
ICProjectDescriptionManager mgr =
CoreModel.getDefault().getProjectDescriptionManager();
ICProjectDescription des = mgr.getProjectDescription(project, true);
ICConfigurationDescription cfgd = des.getActiveConfiguration();
System.out.println(cfgd.getName());
Hth,
Ron
gaetan morice wrote:
> Hi,
> I am currently working on a plug-in that works together with the CDT 4.0.
> How can I get programmatically, from my plugin, the current build
> configuration name (for example Debug or Release) of a given managed C
> project.
> Best regards,
> Gaetan MORICE
> Solutions & Technologies
> ANYWARE TECHNOLOGIES
> www.anyware-tech.com
|
|
|
Powered by
FUDForum. Page generated in 0.03257 seconds