1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
2 | <template type="ProjTempl" version="1.0" |
---|
3 | supplier="RobertF" revision="1.0" |
---|
4 | author="" |
---|
5 | copyright="" |
---|
6 | id="SerialRemoteDebugProject" |
---|
7 | label="%RTEMS.Serial.Template.Label" |
---|
8 | description="%RTEMS.Serial.Template.Label.Description" |
---|
9 | help="help.html"> |
---|
10 | |
---|
11 | <property-group id="basics" label="Basic Settings" description="Basic properties" type="PAGES-ONLY" help="help.html"> |
---|
12 | <property id="author" |
---|
13 | label="Author" |
---|
14 | description="Name of the author" |
---|
15 | type="input" |
---|
16 | pattern=".*" |
---|
17 | default="Your name here" |
---|
18 | hidden="false" |
---|
19 | persist="true"/> |
---|
20 | <property id="copyright" |
---|
21 | label="Copyright notice" |
---|
22 | description="Your copyright notice" |
---|
23 | type="input" |
---|
24 | pattern=".*" |
---|
25 | default="Your copyright notice" |
---|
26 | hidden="false" |
---|
27 | persist="true"/> |
---|
28 | <property id="message" |
---|
29 | label="message" |
---|
30 | description="message" |
---|
31 | type="input" |
---|
32 | pattern=".*" |
---|
33 | default="Hello, I'm waiting for input...\r\n" |
---|
34 | hidden="false" |
---|
35 | persist="true"/> |
---|
36 | <property id="sourceDir" |
---|
37 | label="Source" |
---|
38 | description="Directory for project source files" |
---|
39 | type="input" |
---|
40 | default="src" |
---|
41 | pattern="[a-zA-Z0-9]+" |
---|
42 | mandatory="false" |
---|
43 | persist="true"/> |
---|
44 | </property-group> |
---|
45 | |
---|
46 | <process type="org.eclipse.cdt.managedbuilder.core.NewManagedProject"> |
---|
47 | <simple name="name" value="$(projectName)" /> |
---|
48 | <simple name="artifactExtension" value="exe" /> |
---|
49 | <simple name="isCProject" value="true" /> |
---|
50 | </process> |
---|
51 | |
---|
52 | <process type="org.eclipse.cdt.core.CreateSourceFolder"> |
---|
53 | <simple name="projectName" value="$(projectName)"/> |
---|
54 | <simple name="path" value="$(sourceDir)"/> |
---|
55 | </process> |
---|
56 | |
---|
57 | <process type="org.eclipse.cdt.core.AddFiles"> |
---|
58 | <simple name="projectName" value="$(projectName)"/> |
---|
59 | <complex-array name="files"> |
---|
60 | <element> |
---|
61 | <simple name="source" value="src/Basename.c"/> |
---|
62 | <simple name="target" value="$(sourceDir)/$(projectName).c"/> |
---|
63 | <simple name="replaceable" value="true"/> |
---|
64 | </element> |
---|
65 | </complex-array> |
---|
66 | </process> |
---|
67 | |
---|
68 | </template> |
---|
69 | |
---|