summaryrefslogtreecommitdiff
path: root/meson_options.txt
Commit message (Collapse)AuthorAgeFilesLines
* Rename option `gi_cross_use_{host -> prebuilt}_gi`John Ericson2020-05-171-2/+2
| | | | | The old name used "host" according to Yocto's definition, but not Meson's. The new name works for everyone.
* meson: rename cross options to not start with cross_Christoph Reiter2020-01-171-4/+4
| | | | | | | Newer meson warns that option names can't start with "cross_", so we have to prefix them: "Option uses prefix "cross_", which is reserved for Meson. This will become an error in the future."
* meson: address review commentsAlexander Kanavin2019-12-131-5/+5
| | | | | | | | | See here: https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/64 Particularly, options are renamed to make it more readable and clear. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
* meson_options.txt: add host-gi, gi-cross-wrapper, gi-ldd-wrapper, ↵Alexander Kanavin2019-12-131-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | introspection-data and pkgconfig-sysroot-path options With the first option, gobject-introspection tools (g-ir-doc-tool and g-ir-scanner) that are already installed in the host system will be used for building the source tree. With the second option, g-ir-scanner will be instructed to use an executable wrapper to run binaries it's producing, and g-ir-compiler will be run through the same wrapper (host system's g-ir-compiler cannot be used because it's producing architecture-specific output). With the third option, giscanner will be instructed to use a special ldd command instead of system's ldd (which does not work when the binary to inspect is compiled for a different architecture). With the fourth option, it is possible to disable building of introspection data (.gir and .typelib files), which may be difficult or impossible in cross-compilation environments, because of lack of emulation (or native hardware) for the target architecture on which the target binaries can be run. With the fifth option, paths returned by pkg-config are prefixed with the sysroot path (which is the destination path for cross-compiled items on the system where cross-compilation happens). These options are useful when cross-compiling for a different target architecture. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
* meson: change "doctool" from a boolean to a feature optionChristoph Reiter2019-09-301-1/+1
| | | | | | | Similar to !180 this should prevent devs from not running all tests by accident. This also adds some checks for the required doctool dependencies, mako and markdown.
* meson: change "cairo" from a boolean to a feature optionChristoph Reiter2019-09-281-1/+1
| | | | | | | | | We require cairo only to run all tests and thus default it to false. This usually results in developers not using it when working on changes and tests depending on cairo then failing in CI. This changes it to a feature option that defaults to auto, so that devs that have cairo headers installed will automatically use it.
* meson: use underscore as a separator in build optionsChristoph Reiter2019-01-071-4/+4
| | | | This is what https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting suggests.
* meson: warn that not all tests will be run if building without cairo/doctoolChristoph Reiter2019-01-061-1/+1
|
* meson: disable doctool by defaultChristoph Reiter2019-01-031-1/+1
| | | | To unbreak continuous
* meson: add option 'gir-dir-prefix'Kai Kang2018-10-081-0/+4
| | | | | | | Add option 'gir-dir-prefix' for meson to make the installation path of .gir files could be configured which has been done for autoconf. Signed-off-by: Kai Kang <kai.kang@windriver.com>
* meson: Add a "python" option to make the python to build against configurableChristoph Reiter2018-07-111-0/+4
| | | | | | | | This allows us to build with Python 2 and run tests with it. This requires the new "python" meson module which was added in 0.46.0 so bump the required meson version (glib needs a newer one anyway). Also fixes a small test error under Python 2.
* meson: Remove gir_build hack optionNirbheek Chauhan2018-03-101-4/+0
| | | | | gir generation now works in-tree, so we do not need to bootstrap g-i by installing to a prefix first.
* meson: Set default values for some optionsNirbheek Chauhan2018-03-101-3/+3
|
* Allow setting custom cairo-gobject libnamePatrick Griffis2018-03-101-0/+4
|
* Build docsPatrick Griffis2018-03-101-0/+4
|
* Declaration to export functions in girepository.dll/.lib, flag for skipping ↵Danny 'Guru' Forghieri2018-03-101-0/+4
| | | | the build of the gir files.
* Initial work on meson portPatrick Griffis2018-03-101-0/+11