Commit graph

9 commits

Author SHA1 Message Date
Mathieu Duponchelle
d106c2f8df common.get_meson(): use MESONINTROSPECT if present
If meson has set this, it takes priority over whatever
we may find in PATH.
2017-12-18 18:46:14 +01:00
Mathieu Duponchelle
c6c09b7317 Stop using now deprecated mesonintrospect executable 2017-12-18 17:05:47 +01:00
Tim-Philipp Müller
af5ee95a5b Prefer MESONINTROSPECT env var to find mesonintrospect if set
This is new in meson 0.40. Makes sure we find and use the
mesonintrospect from the same location as our meson, and
not some other meson version that just happens to be in the
path. We might be using meson directly from a checkout, for
example.

https://bugzilla.gnome.org/show_bug.cgi?id=781110
2017-04-10 01:07:38 +01:00
Nirbheek Chauhan
b75903c8f8 Revert "setup.py: Use the detected Ninja and quote build_dir"
This reverts commit 9a64b727bf.

Closes https://bugzilla.gnome.org/show_bug.cgi?id=776801

The actual fix is in the next commit.
2017-01-03 23:00:44 +05:30
Nirbheek Chauhan
9a64b727bf setup.py: Use the detected Ninja and quote build_dir
The build_dir is an absolute path, so quote it.

We don't really need to use the absolute path to Ninja in git-update
since we pass it to subprocess.call which will do an shutil.which
2017-01-03 02:11:43 +05:30
Thibault Saunier
954c27641d Use mesonintrospect to set library path
this way the uninstalled target can be used before the libraries are built

https://bugzilla.gnome.org/show_bug.cgi?id=775281
2016-12-13 12:58:31 -03:00
Thibault Saunier
c843f48740 Add 'update' and git-update targets to update git repos 2016-11-08 15:16:57 -03:00
Thibault Saunier
6a1d489cc5 Minor improvement in the git function 2016-10-11 02:05:39 +02:00
Thibault Saunier
76e946465f Add meson as a submodule for now
Allowing us to control the meson version in use so that it just works.
2016-10-11 02:00:32 +02:00