Skip to content
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

Fix ordering of rpcgen #288

Merged
merged 3 commits into from Oct 2, 2019

Conversation

arogge
Copy link
Member

@arogge arogge commented Oct 1, 2019

Previously rpcgen was called using add_custom_command in PRE_BUILD
mode. That mode doesn't work reliably.
We now generate files that the bareosndmp target can depend on. This
should get the build ordering right every time.

This PR also disables in-source builds so we don't need to consider in-source builds when running rpcgen.

Fixes bareos#1058: 18.2.6 build error while cmake don't build the correct dependency's

previously rpcgen was called using add_custom_command in PRE_BUILD
mode. That mode doesn't work reliably.
We now generate files that the bareosndmp target can depend on. This
should get the build ordering right every time.
Both director and sd need their static object libraries linked to
bareosndmp so the include directory is propagated correctly.
@arogge arogge requested a review from pstorz October 1, 2019 09:40
@arogge arogge merged commit 77e0581 into bareos:master Oct 2, 2019
@arogge arogge deleted the dev/arogge/master/fix-rpcgen-ordering branch October 2, 2019 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant