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