| Age | Commit message (Collapse) | Author |
|
It should be possible to just use the first line rather than the last.
|
|
On Windows, if you accidently add a space at the end of a file name, like
`files('myfile.txt ')`, the file is not reported as missing, because of
the normalization performed by the OS. However, ninja will reference it
with the trailing space, and will fail because the file does not exist.
See https://github.com/python/cpython/issues/115104 for reference.
|
|
Support lists for ObjC and ObjC++ standards
|
|
Where it is now working.
|
|
Which doesn't work with the packaged version of Vala
|
|
It was supposed to preserve the color for debugging meson project tests!
Fixes: d51e20288853f376e9244671604176913f2e4e79
|
|
|
|
It's possible to get an array of versions here, so we need to handle
that.
|
|
For whatever reason Meson has always used None == <C Language>. This
doesn't make a lot of sense to me, but it's how things currently work,
and our dependency factories should handle that correctly.
|
|
Because in at least one case it will lack the `log_tried` method.
|
|
|
|
Closes mesonbuild#14185.
|
|
Signed-off-by: Daiki Ueno <dueno@redhat.com>
|
|
It's not especially explanatory to say:
```
meson.build:357:34: ERROR: Automatic wrap-based subproject downloading is disabled
```
But if we instead say this:
```
ERROR: Subproject libsamplerate is buildable: NO
meson.build:357:34: ERROR: Automatic wrap-based subproject downloading is disabled
```
It becomes a lot clearer to casual inspection, why it failed. And it
matches the way we otherwise report errors for an unbuildable subproject
(configure errors).
Bug: https://github.com/jacktrip/jacktrip/issues/1380
|
|
It catches the exception message itself, but for multi-line exceptions
it may be worth print an error() as well as raising, to communicate
multiple bits of information.
When using the VS backend, this means that we get an actual `ERROR: ...`
printed during a successful run, which then breaks msbuild as msbuild
parses stdout of successful commands, regexes them for the word "error:"
and interprets that as... an error. So a meson project tests example
that uses testcase expect_error() and then successfully configures and
builds, fails to successfully `meson --internal regenerate`.
Sneak around this by doing our own pattern replace to evade msbuild.
There is probably a way to tell msbuild to stop doing this, but that
would require me understanding the vs backend well enough to patch the
xml it generates. No thanks...
|
|
- see https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5168
|
|
Since this is optional, we should not accept that GCC is a valid ObjC or
G++ is a valid ObjC++ Compiler unless we've tested that they can
actually do a basic compile.
This requires fixing a number of tests that have broken assumptions. In
some cases I've split tests where issues with one language would hide
the other. It would be great if we had a competent test framework that
allowed subtests to skip, unfortunately we have python's unittest
instead. Because of that we can't avoid extra tests by use of subtests.
|
|
This tests ObjC and ObjC++ both with and without C enabled. I did this
because I ran into issues where ObjC only worked when C was enabled, and
then a later bug where C was disabled, due to the fact that C and ObjC
both use `c_std` and not `objc_std`.
|
|
Check clang-cl as well as cl, and clang as well as gcc.
|
|
|
|
To avoid duplication between C and ObjC
|
|
|
|
So we can re-use it in the ObjC++ standards
|
|
|
|
So we can re-use it for the ObjC code
|
|
|
|
We'll want to use this for the ObjC++ compiler too.
|
|
This means that the two compilers will update together, and that ObjC
has the list behavior that C does.
|
|
We'll want to use this for ObjC as well, so we'll make it public and put
it in a public place.
|
|
When used as a class decorator VSCode can no longer see that
BasePlatformTest is a TestCase. I hate having to adapt the code to the
tools, but it's really annoying to not have completion and syntax
highlighting.
|
|
|
|
As the comment to get_generated_headers says, these dependencies should
be order-only dependencies.
Fixes #10882.
|
|
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
This is a very hot function, improve the memoization of the results by removing
an argument (that is almost always empty, in fact).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
The proj_dir_to_build_root argument of determine_ext_objs is always empty,
remove it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
|
|
|
|
|
Cleanup and modernize the templates and commands used by `meson init`
|
|
Signed-off-by: ajs <sam4lordjesus@outlook.com>
|
|
Signed-off-by: ajs <sam4lordjesus@outlook.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit 82fedf04033305e2b28db1eea2346018c237d167.
|
|
See https://pypi.org for confirmation of the capitalization.
|