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
Small issues when building on Windows with MSVC #71
Comments
I don't know where to report cairomm issues, but those 2 are copy/pasted into cairomm, so should be changed there too ideally. |
Seems copy/pasted into glibmm too. |
Report at https://gitlab.freedesktop.org/cairo/cairomm/-/issues
Don't you find my error() message more informative than Meson's error message, Which version of Meson do you use? Only versions >=0.55.0 understand the [provide] |
It's true that error message is more informative, I agree.
I know, I'm the one who implemented that feature in meson, I'm using master :D The problem here is Meson will not search in the [provide] section for optional programs Also, |
* meson.build: If mm-common-get is not found in maintainer-mode with 'required: false', try with 'required: true'. Don't try to use tag_file, if documentation is not built. * docs/docs/reference/meson.build: Don't use variables from modules that don't define doxytagfile. These are subprojects that don't build their documentation. Fixes #71
* meson.build: If mm-common-get is not found in maintainer-mode with 'required: false', try with 'required: true'. Don't try to use tag_file, if documentation is not built. * docs/docs/reference/meson.build: Don't use variables from modules that don't define doxytagfile. These are subprojects that don't build their documentation. Fixes #71
I have created PR #72 with possible fixes for 2 of your 3 issues. Comments? |
* meson.build: If mm-common-get is not found in maintainer-mode with 'required: false', try with 'required: true'. Don't try to use tag_file, if documentation is not built. * docs/reference/meson.build: Don't use variables from modules that don't define doxytagfile. These are subprojects that don't build their documentation. Fixes #71
Since I wrote a blog post about building GTK4 applications on Windows, someone asked about gtkmm, so I gave it a try.
https://www.collabora.com/news-and-blog/blog/2021/04/29/build-your-own-application-with-gtk4-as-a-meson-subproject/
I noticed a few things that can be improved:
find_program('mm-common-get', required: false)
does not work. If the program is not required Meson prefer not using the fallback subproject. Changing it tofind_program('mm-common-get', required: maintainer_mode)
would make more sense since youerror()
just below anyway.feature
option that defaults toauto
.'doxytagfile': tag_file.full_path()
fails because tag_file is not defined.The text was updated successfully, but these errors were encountered: