-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use separate directory for external dependencies (platform lib, CMOS parameter lib, etc) #231
Conversation
Clearly separate them from MotoROS2 proper and additionally, prevent GCC from treating them as part of MotoROS2 itself (conversely, prevent GCC from treating MotoROS2 sources as 'external', and thus disabling many of its checks and warnings).
I was unsure as to whether this would work, but a test build (I've only tested the YRC1 configuration) seems to suggest it does. @ted-miller: as you have more experience with this, could you please take a look? I'm mostly trying to avoid the compiler marking the main |
What type of issues have you seen the compiler ignore? |
I have verified that the main project folder is passed with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just did a batch build of all configurations and it worked fine. I'm just curious about the comment about the compiler ignoring issues.
I'm doing some strange / unorthodox things locally which caused the For normal use it doesn't really affect anything, but for the case(s) I describe having the external dependencies in a separate directory helps to avoid the It also doesn't seem to affect regular builds at all, so seems like a benign, if somewhat vaguely motivated, change. |
@ted-miller: just making sure: ok with me merging this? |
Yep. All good. |
As per title.
This clearly separates those dependencies from MotoROS2 proper and additionally, prevents GCC from treating them as part of MotoROS2 itself.
Conversely, it prevents GCC from treating MotoROS2 sources as 'external', and thus disabling many of its checks and warnings.