Merge pull request #228 from DOCGroup/jwillemsen-patch-1
[MPC.git] / templates / cdt6project.mpd
blobd8b4ecd35f3b891ce715ffea866c9a8dc3da38e2
1 <?xml version="1.0" encoding="UTF-8"?>
2 <projectDescription>
3 <name><%project_name%></name>
4 <comment>Generated by MPC</comment>
5 <%if(after)%>
6 <projects>
7 <!-- MPC ADD DEPENDENCIES -->
8 </projects>
9 <%endif%>
10 <buildSpec>
11 <buildCommand>
12 <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
13 <triggers>clean,full,incremental,</triggers>
14 <arguments>
15 <dictionary>
16 <key>?name?</key>
17 <value></value>
18 </dictionary>
19 <dictionary>
20 <key>org.eclipse.cdt.make.core.append_environment</key>
21 <value>true</value>
22 </dictionary>
23 <dictionary>
24 <key>org.eclipse.cdt.make.core.autoBuildTarget</key>
25 <value>all</value>
26 </dictionary>
27 <dictionary>
28 <key>org.eclipse.cdt.make.core.buildArguments</key>
29 <value></value>
30 </dictionary>
31 <dictionary>
32 <key>org.eclipse.cdt.make.core.buildCommand</key>
33 <value>make</value>
34 </dictionary>
35 <dictionary>
36 <key>org.eclipse.cdt.make.core.buildLocation</key>
37 <value>${workspace_loc:/<%project_name%>/<%exeout%>}</value>
38 </dictionary>
39 <dictionary>
40 <key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
41 <value>clean</value>
42 </dictionary>
43 <dictionary>
44 <key>org.eclipse.cdt.make.core.contents</key>
45 <value>org.eclipse.cdt.make.core.activeConfigSettings</value>
46 </dictionary>
47 <dictionary>
48 <key>org.eclipse.cdt.make.core.enableAutoBuild</key>
49 <value>false</value>
50 </dictionary>
51 <dictionary>
52 <key>org.eclipse.cdt.make.core.enableCleanBuild</key>
53 <value>true</value>
54 </dictionary>
55 <dictionary>
56 <key>org.eclipse.cdt.make.core.enableFullBuild</key>
57 <value>true</value>
58 </dictionary>
59 <dictionary>
60 <key>org.eclipse.cdt.make.core.fullBuildTarget</key>
61 <value>all</value>
62 </dictionary>
63 <dictionary>
64 <key>org.eclipse.cdt.make.core.stopOnError</key>
65 <value>true</value>
66 </dictionary>
67 <dictionary>
68 <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
69 <value>true</value>
70 </dictionary>
71 </arguments>
72 </buildCommand>
73 <buildCommand>
74 <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
75 <%if(scanner_config_builder_triggers)%>
76 <triggers><%scanner_config_builder_triggers%></triggers>
77 <%endif%>
78 <arguments>
79 </arguments>
80 </buildCommand>
81 </buildSpec>
82 <natures>
83 <nature>org.eclipse.cdt.core.cnature</nature>
84 <nature>org.eclipse.cdt.core.ccnature</nature>
85 <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
86 <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
87 </natures>
88 <linkedResources>
89 <!-- source files -->
90 <%foreach(source_files)%>
91 <link>
92 <name><%if(starts_with(source_file, \.\.))%><%basename(source_file)%><%else%><%source_file%><%endif%></name>
93 <type>1</type>
94 <location><%full_path(source_file)%></location>
95 </link>
96 <%endfor%>
97 <!-- header files -->
98 <%foreach(header_files)%>
99 <link>
100 <name><%if(starts_with(header_file, \.\.))%><%basename(header_file)%><%else%><%header_file%><%endif%></name>
101 <type>1</type>
102 <location><%full_path(header_file)%></location>
103 </link>
104 <%endfor%>
105 <%if(pch_header)%>
106 <!-- pch header -->
107 <link>
108 <name><%if(starts_with(pch_header, \.\.))%><%basename(pch_header)%><%else%><%pch_header%><%endif%></name>
109 <type>1</type>
110 <location><%full_path(pch_header)%></location>
111 </link>
112 <%endif%>
113 <!-- inline files -->
114 <%foreach(inline_files)%>
115 <link>
116 <name><%if(starts_with(inline_file, \.\.))%><%basename(inline_file)%><%else%><%inline_file%><%endif%></name>
117 <type>1</type>
118 <location><%full_path(inline_file)%></location>
119 </link>
120 <%endfor%>
121 <!-- template files -->
122 <%foreach(template_files)%>
123 <link>
124 <name><%if(starts_with(template_file, \.\.))%><%basename(template_file)%><%else%><%template_file%><%endif%></name>
125 <type>1</type>
126 <location><%full_path(template_file)%></location>
127 </link>
128 <%endfor%>
129 <!-- custom type files -->
130 <%foreach(custom_types)%>
131 <!-- begin files for <%custom_type%> -->
132 <%foreach(custom_type->input_files)%>
133 <link>
134 <name><%if(starts_with(custom_type->input_file, \.\.))%><%basename(custom_type->input_file)%><%else%><%custom_type->input_file%><%endif%></name>
135 <type>1</type>
136 <location><%full_path(custom_type->input_file)%></location>
137 </link>
138 <%endfor%>
139 <!-- end files for <%custom_type%> -->
140 <%endfor%>
141 <%if(custom_only)%>
142 <link>
143 <name><%project_name%>.mk</name>
144 <type>1</type>
145 <location><%full_path(..)%>/<%project_name%>.mk</location>
146 </link>
147 <%endif%>
148 </linkedResources>
149 </projectDescription>