Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Create CDT project without build features

On 19 November 2010 13:11, Tomljenovic Marko (CDG-SMT/EMT1
CR/PJ-TOP66) <Marko.Tomljenovic@xxxxxxxxxxxx> wrote:
> Hi James,
> Thank you for the quick answer.
>
> What about the scanner config nature?

If you don't need it then remove that too...

> Is there a way to create a non built cdt project from a general project in one step?
>
> Currently I am using the following code to programmatically create a cdt project from a general project:
>
> CCorePlugin.getDefault().createCDTProject(project.getDescription(), project,
>          ManagedBuildManager.CFG_DATA_PROVIDER_ID, new SubProgressMonitor(monitor, 1));

Try instead of ManagedBuildManager.CFG_DATA_PROVIDER_ID:
   CCorePlugin.DEFAULT_PROVIDER_ID
This should cause the settings to be persisted by cdt core

Cheers,
James


Back to the top