mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
203553: Merge contributions from Beth Tibbitts
This commit is contained in:
parent
0a66345786
commit
9644f4a11e
1 changed files with 19 additions and 7 deletions
|
@ -13,7 +13,8 @@
|
||||||
<element name="extension">
|
<element name="extension">
|
||||||
<annotation>
|
<annotation>
|
||||||
<documentation>
|
<documentation>
|
||||||
Extension point added to Template Engine plugin. Any plugin, which intends to contribute XML templates to Template Engine has to extend this extension point, and add template element.
|
Extension point added to Template Engine plugin. Any plugin, which intends to contribute XML templates to the Template Engine must extend this extension point, and add the template element.
|
||||||
|
|
||||||
</documentation>
|
</documentation>
|
||||||
</annotation>
|
</annotation>
|
||||||
<complexType>
|
<complexType>
|
||||||
|
@ -50,7 +51,7 @@
|
||||||
<element name="template">
|
<element name="template">
|
||||||
<annotation>
|
<annotation>
|
||||||
<documentation>
|
<documentation>
|
||||||
By adding the templates extension point the users can contribute there Template XMLs to the Template Engine plugin.
|
By adding the templates extension point the users can contribute their Template XMLs to the Template Engine plugin.
|
||||||
</documentation>
|
</documentation>
|
||||||
</annotation>
|
</annotation>
|
||||||
<complexType>
|
<complexType>
|
||||||
|
@ -77,7 +78,14 @@
|
||||||
<attribute name="projectType" type="string" use="required">
|
<attribute name="projectType" type="string" use="required">
|
||||||
<annotation>
|
<annotation>
|
||||||
<documentation>
|
<documentation>
|
||||||
This id refers to the cdt project type that the template will be associated with. Project types are contributed to the org.eclipse.cdt.managedbuilder.core.buildDefinitions extension-point. See the CDT Build System documentation in the developer guide for built-in project type ids.
|
This attribute is a project type id referring to the cdt project type that the template will be associated with. Project types are contributed to the org.eclipse.cdt.managedbuilder.core.buildDefinitions extension-point.
|
||||||
|
This attribute is mandatory. CDT pre-defines the following values of the build artifact type property:
|
||||||
|
<ul>
|
||||||
|
<li>"org.eclipse.cdt.build.core.buildArtefactType.exe" - to represent executable
|
||||||
|
<li>"org.eclipse.cdt.build.core.buildArtefactType.staticLib" - to represent static library
|
||||||
|
<li>"org.eclipse.cdt.build.core.buildArtefactType.sharedLib" - to represent shared library
|
||||||
|
<li>ISVs can define their own custom build artifact values by contributing to the org.eclipse.cdt.managedbuilder.core.buildProperties extension point.
|
||||||
|
</ul>
|
||||||
</documentation>
|
</documentation>
|
||||||
</annotation>
|
</annotation>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
@ -109,11 +117,16 @@
|
||||||
</element>
|
</element>
|
||||||
|
|
||||||
<element name="toolChain">
|
<element name="toolChain">
|
||||||
|
<annotation>
|
||||||
|
<documentation>
|
||||||
|
This element is used to reference an existing toolchain by its unique identifier.
|
||||||
|
</documentation>
|
||||||
|
</annotation>
|
||||||
<complexType>
|
<complexType>
|
||||||
<attribute name="id" type="string" use="required">
|
<attribute name="id" type="string" use="required">
|
||||||
<annotation>
|
<annotation>
|
||||||
<documentation>
|
<documentation>
|
||||||
|
The unique identifier of a toolchain contributed to the org.eclipse.cdt.managedbuilder.core.buildDefinitions extension point.
|
||||||
</documentation>
|
</documentation>
|
||||||
</annotation>
|
</annotation>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
@ -147,8 +160,7 @@
|
||||||
</extension>
|
</extension>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
For more details on how to define your own templates, please check examples provided under
|
For more details on how to define your own templates, please check examples provided under <samp>org.eclipse.cdt.ui.templateengine</samp>
|
||||||
<samp>org.eclipse.cdt.templates</samp>
|
|
||||||
</documentation>
|
</documentation>
|
||||||
</annotation>
|
</annotation>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue