Skip to content

build: find wl protocols using sysroot and generate them inside build folder #86

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

Conversation

AndreCostaaa
Copy link
Collaborator

Simple enhancements to the wl_protocols generation script:

  • Allow defining the output folder and replace the previously used wl_protocols folder to the build folder in cmake
    • I wasn't liking having to manually remove two folders to do a clean build
  • Allow easy addition of new protocols as I have a feeling we will needed this in not so distant future
    • To support new we simply need to echo the generated private-code and it will be collected by cmake
  • Prefix the protocols folder with $SYSROOT to support cross-compilation by finding protocols in the target system's sysroot rather than the host system

cc @etag4048 @anaGrad

@AndreCostaaa AndreCostaaa changed the title build: generate wayland protocols in build folder build: find protocols inside SYSROOT folder and generate them inside build folder May 27, 2025
@AndreCostaaa AndreCostaaa changed the title build: find protocols inside SYSROOT folder and generate them inside build folder build: find wl protocols using sysroot and generate them inside build folder May 27, 2025
@AndreCostaaa AndreCostaaa merged commit a78b02b into lvgl:master May 27, 2025
4 checks passed
@AndreCostaaa AndreCostaaa deleted the build-generate-wayland-protocols-in-build branch May 27, 2025 18:58
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.

1 participant