-
Notifications
You must be signed in to change notification settings - Fork 45
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
Improve deployment as subdirectory #56
Conversation
No Problem. A general CMake question: Is it possible to map
Adding a test is a good idea! 👍 It's hard to notice otherwise. But instead of executing those step in each compiler build, it's probably a good idea to add a dedicated "deployment" build. Or some more if necessary – eg. subdirectory deployment and So we keep jobs doing only one task at a time and the deployment tests don't have to forcefully fit into the build & test cycle. Furthermore it becomes easy to spot whether a build failure is deployment or build related.
Agreed. For now I'd say the |
5376278
to
65f72b0
Compare
65f72b0
to
3b8d37b
Compare
I don't think that is possible. If you export something as
As its relatively cheap I would keep it this way. By that, we also test the various install options w/ w/o boost. And another problem is that we have to test the subdir option before we install the target, as otherwise we cannot be sure that the the headers are actually taken from the subdir and not from the system include. Anyways, feel free to change the CI stuff ;) |
Thanks! |
I'm really sorry, that my last PR broke the subdirectory integration support.
For that, we have to include the generated header in the public "build interface" as well... Doing CMake right is ridiculously hard.
As the this issue now happened the second time, I added a test to check the deployment as well:
I'm still a bit unsure where to place these scripts. Maybe we should unify that, once you are done with reworking the testing anyways.