| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
by leaving out the choices keyword.
|
| |
|
|\
| |
| | |
Add an array type to user options
|
| |
| |
| |
| |
| |
| |
| | |
This exposes the already existing UserStringArrayOption class through
the meson_options.txt. The intention is to provide a way for projects to
take list/array type arguments and validate that all of the elements in
that array are valid without using complex looping constructrs.
|
| |
| |
| |
| | |
So that the shbang is ther rist line and ./run_unittests.py works.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We should always prefer generated files over onces in the source tree
else if the same file also exists in the source tree we get strange
behaviour where we ignore dependencies and the project has to be
built twice to be fully up-to-date.
See: https://bugzilla.gnome.org/show_bug.cgi?id=787677
Closes https://github.com/mesonbuild/meson/issues/2686
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
One thing that makes cross compiling with meson a pain is the need for
cross files. The problem is not with cross files themselves (they're
actually rather brilliant in that they allow for a much greater deal of
flexibility than autotools hardcoded paths approach) but that each user
needs to reimplement them themselves, when for most people what they
really want is a cross file that could be provided by their distro, all
they really want is the correct toolchain.
This patch is the first stop to making it easier for distros to ship
their own cross files (and for users to put their's somewhere safe so
they don't get `git clean`ed. It allows the cross files (on Linux and
*BSD) to be stored in home and system paths (~/.config/meson/cross,
/usr/share/meson/cross, and /usr/local/share/meson/cross), and to be
loaded by simply by specificying --cross-file.
With this patch meson will check the locations its always checked first,
(is cross file absolute, or is it relative to $PWD), then will check
~/.config/meson/cross, /usr/local/share/meson/cross,
/usr/share/meson/cross, (or $XDG_CONFIG_PATH and $XDG_DATA_DIRS) for the
files, raising an exception if it cannot find the specified cross file.
Fixes #2283
|
|\ \
| | |
| | | |
dependencies: Fix parsing of shebangs with spaces
|
| | |
| | |
| | |
| | | |
Which means using fgets, unfortunately.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
While finding an external program, we should only split the shebang
once since that is what Linux and BSD also do. This is also why
everyone uses #!/usr/bin/env in their shebangs since that allows
you to run an interpreter in a path with spaces in it.
See `man execve` for more details, specifically the sections for
interpreter scripts.
|
| |
| |
| |
| |
| |
| |
| | |
'test cases/frameworks/9 wxwidgets' fails to build with clang on
Fedora because it needs C++11 enabled.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When `ninja -C builddir/ test` is run, ninja will change into the build
dir before starting, but `meson test -C builddir/` does not. This is
important because meson does not use (for good reasons) absolute paths,
which means if a test case needs to be passed as an argument a file name
that is part of the build process, it will be relative builddir. Without
changing into the builddir the path will not exist (or worse, point at
the wrong thing), and test will not behave as intended.
To fix this mtest will change directory before starting tests, and will
change back after all tests have been finished.
Fixes #2710
|
|\ \
| | |
| | | |
macos 10.13 fixes
|
| | |
| | |
| | |
| | | |
That python will always be python2
|
| | |
| | |
| | |
| | | |
It lacks the necessary SDKs to run the tests.
|
| | |
| | |
| | |
| | | |
This enables colors with ConEmu.
|
|\ \ \
| | | |
| | | | |
Minor LLVM dependency cleanups for the next release
|
| | | | |
|
| | |/
| |/|
| | |
| | |
| | | |
LLVM can have optional modules, modules that will make the code faster
but are not required.
|
| | | |
|
| | |
| | |
| | |
| | | |
Followup for 1540e615f13503722f1067c693f3d394218cbd9e.
|
|/ /
| |
| |
| | |
Found by https://bugzilla.gnome.org/show_bug.cgi?id=790998
|
| |
| |
| |
| |
| |
| |
| |
| | |
Depending on the tool (moc, uic, rcc, lrelease), the Qt version
(4.8, 5.7, 5.9) and the distribution (Fedora, debian,...) it seems you
cannot predict which of -v or -version will be supported.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
|\ \
| | |
| | | |
Add method to get values from config tool based dependency
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There are currently entries for cups and pcap; but not LLVM, GnuStep, or
WxWidgets. Instead of having an entry for each of these just have a
single entry for all of them, since the majority of the information is
duplicated between them anyway.
|
| | |
| | |
| | |
| | |
| | | |
This mirrors the get_pkgconfig_variable but for config tool based
dependencies.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some dependencies can be detected multiple ways, such as a config tool
and pkg-config. For pkg-config a new PkgConfigDependency is created and
used to check for the dependency, config tool dependencies are handled
ad-hoc. This allows the ConfigToolDependency to be used in the same way
that PkgConfigDependency is.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This class is meant abstract away some of the tedium of writing a config
tool wrapper dependency, and allow these instances to share some basic
code that they all need.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This basically boils down to using map() and expecting a list, but map
returns an iterator. The better solution is to use a list comprehension
anyway, so do that.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
The current latest version is 0.2.8, but the test expects 3.0. 0.2.8 was
released in 2011, so it seems quite safe to require the latest version.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently passing a bad combo or array option, providing a non-boolean
to a bool arg, or a host of other things can cause an traceback from a
MesonException, don't do that.
Fixes #2683
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Replace '\n' escape sequence before '\\' to allow a literal backslash
to be inserted before the character 'n'.
Fixes #2682
|
| | |
| | |
| | |
| | | |
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Otherwise Python will try to use string decode on the configured file
and fail if it contains characters that can't be mapped to the current
encoding.
|
|\ \ \
| | | |
| | | | |
Spelling
|
| | | | |
|
| | | | |
|
| | | | |
|