Here is the code for changing the Standard Project to Make Project in CDT plugin.
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject("projectName");
IConfiguration activeConfig = ManagedBuildManager.getBuildInfo(project).getDefaultConfiguration();
activeConfig.setManagedBuildOn(false); // or true
ManagedBuildManager.saveBuildInfo(project, true);
No comments:
Post a Comment