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

Add support for building C++ with Gradle #4336

Closed
spacey-sooty opened this issue Nov 27, 2023 · 2 comments
Closed

Add support for building C++ with Gradle #4336

spacey-sooty opened this issue Nov 27, 2023 · 2 comments
Labels
🌊 C++ API C/C++ API specific enhancement New feature or request

Comments

@spacey-sooty
Copy link

Is your feature request related to a problem? Please describe.
I am trying to utilise rerun for on robot logging in FRC. Our build system is heavily embedded in Gradle. Normally if we want to include a library we use a git submodule and include it into our project through that. This requires that we can build the project in Gradle.

Describe the solution you'd like
Support for building the C++ project in Gradle.

Describe alternatives you've considered
Static binary releases with a header file could also work.

Additional context
Our build system uses GradleRIO which is built on Native Utils

@spacey-sooty spacey-sooty added enhancement New feature or request 👀 needs triage This issue needs to be triaged by the Rerun team labels Nov 27, 2023
@Wumpf
Copy link
Member

Wumpf commented Nov 27, 2023

If you figure out a good Gradle integration, we'd be happy to link to an example for this, but at the moment we don't want to add "official" support to additional build systems for C++ due to the myriad of options and high maintenance burden.

As for providing binaries, we haven't entirely made up our mind yet: We have std types in our C++ interface meaning that we strictly speaking need a binary for every version of os/compiler/std-lib combination since there is generally no binary compatibility.

That said, the upcoming 0.11 release / the main branch adds a lot of documentation around how to build the C++ SDK from scratch, as well as CMake Install support to build your own binaries in a controlled fashion.

@Wumpf Wumpf closed this as not planned Won't fix, can't repro, duplicate, stale Nov 27, 2023
@Wumpf Wumpf added 🌊 C++ API C/C++ API specific and removed 👀 needs triage This issue needs to be triaged by the Rerun team labels Nov 27, 2023
@spacey-sooty
Copy link
Author

Sounds good to me! Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌊 C++ API C/C++ API specific enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants