gnuarmeclipse exporter ignores .mbedignore files
Closed this issue · 7 comments
Maybe related to #5989?
Description
- Type: Bug
- Related issue: #5989
Bug
When exporting to gnuarmeclipse mbedignore files are ignored, and all files are added to the new project. This breaks compilation for projects that have other main
files, but that are ignored by mbedignore. Normal building with Mbed CLI does not yield any issues.
@janjongboom That's simply not true. Do you get a "tools" directory in your project? Mine is ignored.
Also, while #5989 seems related, it's not. Export (not any individual exporters) resolves the .mbedignore
files before writing anything to disk.
@theotherjimmy do you have any idea why https://github.com/janjongboom/janpatch/blob/master/.mbedignore doesn't exclude janpatch-cli.c
?
I think the exclude rules in the exporter are not setup for single file excludes.
@theotherjimmy interesting, as the mbed CLI build process properly excludes them.
@janjongboom I forgot a line in the original implementation. see #6145 For the correction!
Great, thanks.