Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Eidsness2013-09-11 01:33:19 +0000
committerAndrew Gvozdev2013-10-02 00:59:40 +0000
commita0a2059fdd2296fe9fd9c269e129d24fe9b9bf48 (patch)
tree31b4e09d8dcd41badab7b2b9ae25d1c657e0e5e7 /build/org.eclipse.cdt.managedbuilder.core/plugin.xml
parent411734ee3b6aabb21bc6e45a346bf2e1a907df7f (diff)
downloadorg.eclipse.cdt-a0a2059fdd2296fe9fd9c269e129d24fe9b9bf48.tar.gz
org.eclipse.cdt-a0a2059fdd2296fe9fd9c269e129d24fe9b9bf48.tar.xz
org.eclipse.cdt-a0a2059fdd2296fe9fd9c269e129d24fe9b9bf48.zip
Bug 416471: Support for extra ILanguageSettingsProviders in new projects
This change introduces three new ProcessRunners that can be used in the New Project wizard's template.xml files. These will be used by two new Qt project wizards that I will introduce in a second patch. The three new rules are: 1) "AddMakeTarget" which creates new Make Targets (in the Make Targets view) for the new projects. 2) "SetEnvironmentVariable" which sets an environment variable in all of the new project's build configurations. 3) "ExtraLanguageSettingsProvider" which modifies the new project's build configurations to include a new ILanguageSettingsProvider. The first two are straightforward, the third is a bit different. Instead of creating a new Toolchain or Configuration it modifies the Configurations that were created for the new project. In this case the only modification is to add the extra ILanguageSettingsProvider, but it might be useful to extend this to other customizations as well. Change-Id: I30710400e9b0dffcbe6e8965ce7ce2078c1c99ca Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/16817 Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com> IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com> Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.core/plugin.xml')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/plugin.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/plugin.xml b/build/org.eclipse.cdt.managedbuilder.core/plugin.xml
index 63665251f2a..4498dcd9498 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/plugin.xml
+++ b/build/org.eclipse.cdt.managedbuilder.core/plugin.xml
@@ -584,6 +584,12 @@
processRunner="org.eclipse.cdt.managedbuilder.templateengine.processes.GenerateMakefileWithBuildDescription">
<simple name="projectName"/>
</processType>
+ <processType
+ name="AddLanguageSettingsProvider"
+ processRunner="org.eclipse.cdt.managedbuilder.templateengine.processes.AddLanguageSettingsProvider">
+ <simple name="projectName"/>
+ <simpleArray name="languageSettingsProviderIds"/>
+ </processType>
</extension>
<extension
id="headlessbuild"

Back to the top