Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] How to get the toolchain option with specified ID fromICProject object?

On Tue, 21 Oct 2008 13:10:58 +0400, Wieant Nielander <wieant@xxxxxxxxx> wrote:

We're indeed currently using the ManagedBuildManager for this, you
could use something like:

IProject project = YourICProjectVariable.getProject();
IManagedBuildInfo info = ManagedBuildManager.getBuildInfo(project);
IConfiguration config = info.getDefaultConfiguration();
IToolchain tch = config.getToolChain();
for ( IOption option : tch.getOptions() ) ...

Great thanks, Wieant! It works fine!

Best regards,

Back to the top