Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
See: https://github.com/mesonbuild/meson/issues/3552
|
|
Closes https://github.com/mesonbuild/meson/issues/3534
|
|
Document that compiler checks are self-contained and
do not add arguments from anywhere else.
|
|
If we pass a source files() object, we will look for it in the build
directory, which is wrong. If we pass a build files() object (from
configure_file()), we will find it in the build directory, and then
try to copy it on top of itself in gtkdochelper.py getting a
SameFileError.
Add a test for it, and also properly iterate custom target outputs
when adding to content files.
|
|
Otherwise, when you use a File target, the value will be the full path
to the header from the build root, which is not what anyone wants.
|
|
The fix has landed upstream, and will be in the next glib stable
release. I have verified that it fixes the problem described in #3488
and that the 'frameworks/7 gnome' test passes now.
|
|
|
|
The new --body and --header args are broken because they do not allow
the use of --output-directory to set the correct `#include "foo.h"`
line in `foo.c`. The changes in the gdbus test case show this.
Disabled till this can be fixed in glib.
Closes https://github.com/mesonbuild/meson/issues/3488
|
|
this fixes eg set_variable('foo', ['bar', 'baz']), which
was previously erroring out complaining about the number
of arguments.
Closes #1481
|
|
|
|
python module: make it work with pypy
|
|
The tests are only run via unit tests, so that's where they should be.
|
|
pypy installations don't usuallyy ship with pkg-config files,
we thus need to replicate what their version of distutils does.
In addition, we also try our best to build against other
pythons that do not have pkg-config files.
|
|
Can combine D and C++ in a single target.
|
|
Python 3.5 has been required since 0538009d30c0.
|
|
|
|
|
|
|
|
Libraries that have been linked with link_whole: are internal
implementation details and should never be exposed to the outside
world in either Libs: or Libs.private:
Closes https://github.com/mesonbuild/meson/issues/3509
|
|
|
|
|
|
* Currently `required : true` is implicitly assumed, making
optional use of OpenMP not possible.
|
|
We are taking some shortcuts here. The WiX documentation says that you
should keep the Product GUID the same for "small and minor" upgrades
but change it for major ones. These are not defined in any way and a
change of version number might, or might not, warrant a guid
update. For simplicity we will always regenerate the Product GUID.
Again we find that naming things is difficult since "product" in
everyday language would mean "the application/library/software" and
all different versions of it. In MSI installer terminology it means
something vague between the two.
https://www.firegiant.com/wix/tutorial/upgrades-and-modularization/
|
|
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
|
This change still relies on the older 'ANSICON' environment check as a
fallback, in the event we're on "not Windows 10". (Calling
`SetConsoleMode` with unsupported values results in a 0 being returned)
|
|
|
|
When passing more than one -Dc_args it should override the value
instead of appending. This is how all other options works.
Value should be split on spaces using shlex just like it does with
CFLAGS environment variable.
Fixes #3473.
|
|
Fixes: #3494
|
|
ld does not treat wrong -z options as fatal by default.
|
|
Just use the same approach than qmake to generate private headers path
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
|
--warnlevel got renamed to --warning-level
|
|
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
|
Removed Qt4 private headers test since it's hard to get Qt4 private
headers installed on CI.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
|
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
|
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
|
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
|
This commit adds private_headers option in dependency method which tells
QtDependency to add private headers include path to build flags.
Since there is no easy way to do this with pkg-config only qmake method
supports this, so with private_headers set qmake will always be used.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
|
Meson doesn't provides yet a convenient way to include private Qt headers
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
|
|
|
|
Outputs two profile logs: one for the interpreter run and another for
the backend-specific build file generation. Both are stored in
meson-private in the build directory.
|
|
Looks like this has always been broken, had_argument_for() was checking
if we have --default_library instead of --default-library.
|
|
Unit test was asserting that
"meson --bindir=foo --bindir=bar" must succeed and
"meson configure --bindir=foo --bindir=bar" must fail.
There should be no difference between those 2 command lines.
In this case it's fine to have it twice because there is no ambiguity,
second overrides the first, that's done by python's argparse.
|
|
|
|
|
|
It is repeatedly used by e.g. guess_external_link_dependencies.
|
|
Reduce speed impact of duplicated libs and pathes in the link command
line. (fixes #3465)
|
|
|
|
Introduce install_umask to determine permissions of files in install tree. Default it to 022
|