Open MichaelBMiner opened 2 years ago
Are the missing file(s) added using the paths
or files
sections in the project.yml
file?
I've been debating removing the includes
sections option from files
because it can't work quite like the others. When we're working with a source or test file, ceedling is in control and can choose to add it to the list of things that get compiled. When it's an include file, ceedling is no longer in control. Compilers don't accept a list of header files to use, they accept a list of paths only... so ceedling does well with paths:includes
because it can just add it to the list, but less well when it's a random header file that we would just like the compiler to use... we have no way of informing the compiler about this desire.
If nothing else, we should add to the documentation on this.
If this isn't your situation, I apologize. I'm writing half of this just to remind myself that this is something we need to address. I'm also hoping it helps in your situation, of course. ;)
Related to my issue 676 my ceedling is having trouble finding some files. I am attaching a text file of my code tree.
Here is the command I am running and the response
clear; ceedling clean; ceedling clobber; ceedling test:test_can.c
What is odd is when I run
ceedling files:include
I get the outputtree.txt
The code in the attached tree was generated by Yocto and I can share any of if needed. My code is very simple.