Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Getting managed build configuration name programmatically.
Getting managed build configuration name programmatically. [message #205180] Mon, 19 November 2007 11:04 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Declaration View in CDT
Next Topic:Debugging Windows DLLs
Goto Forum:
  


Current Time: Thu Jun 05 02:17:14 EDT 2025

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

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

Back to the top