-
Notifications
You must be signed in to change notification settings - Fork 15
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
add support for FILE_SET HEADERS #31
base: master
Are you sure you want to change the base?
add support for FILE_SET HEADERS #31
Conversation
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.
Hey, thanks for the PR! TBH I don't quite understand what use-case is supports that we don't already have. Do you think you could write an example (or better - a test case) that would not work with the current behaviour?
The use case is that a header only project may check that every header is self contented and compiles. Too it is possible to |
So if I understand correctly from the docs, the advantage is that we don't need to specify the include destination explicitly but can now use the |
No, the main advantages are
see too aminya/project_options#143 |
I still don't really understand the feature then, do you think you could add an independent test case that would fail with the current version, but pass using the suggested changes? |
@TheLartians I push a version that is not usable with How will you support to install a header only library using this new |
@TheLartians may you think about this MR again? |
@TheLartians Q: Is the project not maintained anymore? |
Hey @ClausKlein I apologise for not being able to respond so far. I'm still planning to maintain this project, however I don't have any experience with As before it would be great if you could avoid changing the test behaviour based on the CMake version. You can assume that tests will be performed with CMake > 3.23.0, but I still want to keep the existing test code that doesn't use the new feature. Perhaps you instead create another dependency |
FYI: from import-cmake-c20-modules Once you have built a compiler that supports p1689 and a version of |
I see, so the files sets are required to support modules? In that case how about adding a separate test case that demonstrates this functionality by using modules instead of modifying the existing tests? |
I can not longer use this cmake module because it has no support for moderern CMake file sets! |
to support new
CMake
feature for interface-librariesthis would fix #32