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

Reuse existing cargo build with C and C++ bindings #559

Closed
elBoberido opened this issue Dec 20, 2024 · 1 comment · Fixed by #560
Closed

Reuse existing cargo build with C and C++ bindings #559

elBoberido opened this issue Dec 20, 2024 · 1 comment · Fixed by #560
Assignees
Labels

Comments

@elBoberido
Copy link
Member

Brief feature description

cmake invokes cargo to build the Rust project instead of using an existing build. This simplifies the life of the developers since they have to invoke only one command but makes life harder for integrators.

Similar to our handling with iceoryx_hoofs, a cmake parameter shall be introduced to tell cmake where to look for the Rust artifacts. If they are not found, the cmake shall invoke cargo and build everything from scratch.

@elBoberido elBoberido self-assigned this Dec 20, 2024
@elBoberido elBoberido changed the title Re-use existing cargo build with C and C++ bindings Reuse existing cargo build with C and C++ bindings Dec 20, 2024
elBoberido added a commit that referenced this issue Dec 20, 2024
…-build-for-cmake-ffi-build

[#559] Reuse existing cargo build for C and C++ bindings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
@elBoberido and others