This is inspired by the SRC_DIRS build variable, but only focuses on
include files. Using the SRC_DIRS can be problematic, as it pulls
every .c & .h file from a directory.
But in some cases, we just want to pull in the header files. These header
files will only get compiled if a .c file pulls them in.
If this build variable is unspecified, it will be empty, so nothing will be
done (to potentially affect current projects).
PR Type
[ ] Bug fix (change that fixes an issue)
[x] New feature (change that adds new functionality)
[ ] Breaking change (has dependencies in other repos or will cause CI to fail)
Pull Request Description
This is inspired by the SRC_DIRS build variable, but only focuses on include files. Using the SRC_DIRS can be problematic, as it pulls every .c & .h file from a directory.
But in some cases, we just want to pull in the header files. These header files will only get compiled if a .c file pulls them in.
If this build variable is unspecified, it will be empty, so nothing will be done (to potentially affect current projects).
PR Type
PR Checklist