Skip to content

Commit 75935b4

Browse files
Merge pull request #4616 from amq/master
Fix unresolved include of mbed_config.h in Eclipse
2 parents ea4220d + 2b70e8f commit 75935b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/export/gnuarmeclipse/.cproject.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
</option>
183183
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.files.{{u.id}}" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.assembler.include.files" useByScannerDiscovery="true" valueType="includeFiles">
184184
{% for file in opts['common']['include_files'] %}
185-
<listOptionValue builtIn="false" value="&quot;{{file}}&quot;"/>
185+
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/{{file}}&quot;"/>
186186
{% endfor %}
187187
</option>
188188
{% if opts['as']['otherwarnings'] != '' %}
@@ -212,7 +212,7 @@
212212
</option>
213213
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.include.files.{{u.id}}" name="Include files (-include)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.c.compiler.include.files" useByScannerDiscovery="true" valueType="includeFiles">
214214
{% for file in opts['common']['include_files'] %}
215-
<listOptionValue builtIn="false" value="&quot;{{file}}&quot;"/>
215+
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/{{file}}&quot;"/>
216216
{% endfor %}
217217
</option>
218218
{% if opts['c']['compiler.std'] %}
@@ -260,7 +260,7 @@
260260
</option>
261261
<option id="ilg.gnuarmeclipse.managedbuild.cross.option.cpp.compiler.include.files.{{u.id}}" name="Include files (-include)" superClass="ilg.gnuarmeclipse.managedbuild.cross.option.cpp.compiler.include.files" useByScannerDiscovery="true" valueType="includeFiles">
262262
{% for file in opts['common']['include_files'] %}
263-
<listOptionValue builtIn="false" value="&quot;{{file}}&quot;"/>
263+
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}/{{file}}&quot;"/>
264264
{% endfor %}
265265
</option>
266266
{% if opts['cpp']['compiler.std'] %}

0 commit comments

Comments
 (0)