Skip to content

Conversation

@reedev
Copy link
Contributor

@reedev reedev commented Sep 26, 2025

Resolves #2665

@JonasVautherin
Copy link
Collaborator

JonasVautherin commented Sep 26, 2025

Thanks!

When are those defined? By the superbuild? Just to understand 😊. I guess I'm wondering if those should not be exposed as CMake options?

@reedev
Copy link
Contributor Author

reedev commented Sep 27, 2025

Hi,

I am not sure what it means 'by the superbuild' but the url to the 4 xml files are set in src/mavsdk/core/CMakeLists.txt and now I added a check to set them only when they are not already set (via cmake). Of course, it could be nicer to use a single path to the files. We can easily change that.

@JonasVautherin
Copy link
Collaborator

Right, sorry it was late an I wasn't clear 😅.

I was wondering if we should not take this as an opportunity to add them as options, next to MAVLINK_DIALECT here: https://github.com/mavlink/MAVSDK/blob/main/CMakeLists.txt#L7. So that it makes it clear that they can be set manually

@reedev
Copy link
Contributor Author

reedev commented Sep 29, 2025

Sure, good suggestion to keep things consistent. I will try it out and make another PR (not right now, at a later moment).

@sonarqubecloud
Copy link

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.

Proper way to build with superbuild off?

2 participants