summaryrefslogtreecommitdiff
path: root/tools/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* meson: Add glib_valgrind_suppressions variable to glib pkg-config fileMarco Trevisan (TreviƱo)2023-04-141-2/+2
| | | | | | | | | | Various projects are running tests under valgrind, and they are using the GLib suppresions to avoid false-positive results. While this is stored in a well-known path for some years, and easy to figure out from the GLib prefix, it's better to expose it through a proper pkgconfig variable so that it's easy to get it from any build system.
* Fix symbol visibility macros on WindowsXavier Claessens2022-10-131-0/+2
| | | | | | | | | | | | | | | | | | | | | There is currently no `dllimport` attribute on any of our function, which prevents MSVC to optimize function calls. To fix that issue, we need to redeclare all our visibility macros for each of our libraries, because when compiling e.g. GIO code, we need dllimport in GLIB headers and dllexport in GIO headers. That means they cannot use the same GLIB_AVAILABLE_* macro. Since that's a lot of boilerplate to copy/paste after each version bump, this MR generate all those macros using a python script. Also simplify the meson side by using `gnu_symbol_visibility : 'hidden'` keyword argument instead of passing the cflag manually. This leaves only API index to add manually into glib-docs.xml when bumping GLib version. That file cannot be generated because Meson does not allow passing a buit file to gnome.gtkdoc()'s main_xml kwarg unfortunately.
* meson: Set install_tag on remaining installed filesXavier Claessens2022-09-201-1/+3
|
* meson: Set install_tag on all toolsXavier Claessens2022-09-121-0/+1
| | | | | | | | | | | Those tools are not needed at runtime for typical applications, distributions typically package them separately. This makes `meson install --tag runtime` skip installation of those tools. Omitting `--tag` argument will still install them, as well as with `--tag bin,bin-devel`. See https://mesonbuild.com/Installing.html#installation-tags.
* tools: Move glib.supp to tools directoryPhilip Withnall2022-05-111-0/+7
| | | | | | This tidies up the root directory a bit more. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
* tools: Move glib-gettextize.in to tools directoryPhilip Withnall2022-05-111-0/+14
This tidies up the root directory a bit more. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>