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 CMakePresets.json file #3143

Open
louwers opened this issue Jan 14, 2025 · 3 comments
Open

Add CMakePresets.json file #3143

louwers opened this issue Jan 14, 2025 · 3 comments
Assignees
Labels
build Related to build, configuration or CI/CD documentation Improvements or additions to documentation github_actions Pull requests that update GitHub Actions code

Comments

@louwers
Copy link
Collaborator

louwers commented Jan 14, 2025

The VS Code CMake plugin has good support for it, and it's convenient to configure different configurations without looking up the details of what CMake flags are required. Probably we want to use these on CI as well.

Also add documentation to MapLibre Native Developer Documentation.

Documentation on CMakePresets.json:

@louwers louwers self-assigned this Jan 14, 2025
@louwers louwers added documentation Improvements or additions to documentation build Related to build, configuration or CI/CD github_actions Pull requests that update GitHub Actions code labels Jan 14, 2025
@ntadej
Copy link
Collaborator

ntadej commented Jan 14, 2025

This is used for Qt and I guess it was helpful but now adding newer versions the number of configurations will expand. Expect many as presets are not scriptable.

@louwers
Copy link
Collaborator Author

louwers commented Jan 14, 2025

I saw they are extendable at least. That will help.

@ntadej
Copy link
Collaborator

ntadej commented Jan 14, 2025

Yes, but you need to duplicate all build steps for all config steps (at least this was the case when I implemented them). Let me know if this has changed 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to build, configuration or CI/CD documentation Improvements or additions to documentation github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

No branches or pull requests

2 participants