-
Notifications
You must be signed in to change notification settings - Fork 3
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
Comment and code contradict each other #77
Comments
You mean the headeronly target should not have any flags in the non-public member variable? The comment refers to the behaviour the user should experience. |
The header only target should have all |
Agreed, this would be better. There might be some places in the init that need changing, I think some defaults are placed in those variables for all target kinds. |
I am currently trying to get an overview of the init function, I think it can be simplified a bit and at the same time the above mentioned can be implemented. |
Should be "fixed" with #76 |
Looking at the following code:
clang-build/clang_build/target.py
Lines 76 to 80 in c5d5c1b
We see that while the comment says that header only targets' include directories are always public, this is not realized in the actual code, hence requiring this unnecessary check to then also include the "non-public" include directories of header only targets.
The text was updated successfully, but these errors were encountered: