Daniel Mensinger
a6c9a151d3
interpreter: Make comparisons of different types a hard error
3 years ago
jimman2003
10151d8738
Make assignment a statement in Syntax.md ( #9188 ) [skip-ci]
...
* Make assignment a statement in Syntax
force to change line 709 to something kind of non sensical
* Applied code review changes
3 years ago
Xavier Claessens
276063a1d2
Add missing "disabler" kwarg to python.dependency()
...
There is a unit test using it and now fails because the warning about
unknown kwarg became fatal.
3 years ago
Andrea Pappacoda
64ea8dce7a
docs: update LD docs link in FAQ.md
3 years ago
Eli Schwartz
16a162d10a
FAQ: document some community work toward implementing Meson in C/C++
...
This is useful information for solving the OS bootstrapping problem.
Give it some visibility.
Also, I don't want to forget where I found any of these. :D
ref. #2335
3 years ago
Xavier Claessens
e646130ef1
interpreter: Fix dependency(..., static: true) fallback
...
It should build the fallback subprject with default_library=static and
override the dependency for both static=True and static kwarg not given.
Fixes : #8050 .
3 years ago
Eli Schwartz
aad986b4b5
Fix syntax error that broke the website
...
Regression in commit be92e37837
3 years ago
Tristan Partin
be92e37837
Add Java module
...
The Java module will serve as a source for easing Java development
within Meson. Currently it only supports generating native header files.
3 years ago
Jussi Pakkanen
e69b9c982c
Update instructions on installing with Pip. Closes #9034 .
3 years ago
Xavier Claessens
12e5bfbc1c
external-project: Add support for WAF build system
...
Fixes : #7638
3 years ago
Dylan Baker
42d27f05c6
docs: add snippet for qt compile_ method generated inputs
3 years ago
Dylan Baker
a7f3703440
modules/qt: Allow using generated sources for compile_translations ts_files
3 years ago
Dylan Baker
a16335a958
modules/qt: Allow Generated sources in compile_resources
3 years ago
Dylan Baker
ff573620b0
modules/qt: allow passing generated targets to compile_ui
3 years ago
Dylan Baker
965fcf2883
modules/qt: Allow generated sources for arguemnts to compile_moc
3 years ago
Eli Schwartz
44e123dd90
test runner: add the ability to configure test.json for python paths
...
Adds new installed file types with @VAR@ substitution.
3 years ago
Daniel Mensinger
a216de4898
docs: Remove the deleted function find_library
3 years ago
Xavier Claessens
8c5aa031b5
Add install tags
...
Fixes : #7007 .
3 years ago
Dylan Baker
7dda90f1bf
interpreter/compiler: remove unittest_args method
...
It's not documented, and it's been marked deprecated for who knows how
long.
3 years ago
Jussi Pakkanen
aa68440ba6
Document new rules for green CI.
3 years ago
Tristan Partin
1dc13e9951
Add unset_variable()
...
This should be useful for helping to control variable scope within
Meson. CMake has something similar for controlling scope.
3 years ago
Eli Schwartz
59d4f771d2
editorconfig: add setting to trim trailing whitespace
...
and clean up all outstanding issues
Skip 'test cases/common/141 special characters/meson.build' since it
intentionally uses trailing newlines.
3 years ago
Jussi Pakkanen
a90d2925dd
Revert "compilers/c++: Add MSVC option to make the __cplusplus define accurate"
...
This reverts commit 0b97d58548
.
3 years ago
Xavier Claessens
b74db1dda2
Document that custom_target() install_dir can be a list
3 years ago
Eli Schwartz
e4c50bf8a7
fix the previous commit which deleted a doc file but not the index entry
...
The CI still passed, or should I say, didn't run, and I failed to notice
this in manual review. Sorry!
3 years ago
Eli Schwartz
bf1ae2c7f9
Update wrap documentation to describe new submission process
3 years ago
Dylan Baker
0b97d58548
compilers/c++: Add MSVC option to make the __cplusplus define accurate
...
Otherwise it always returns the value for c++98, starting with MSVC 2017
15.7 or later. Earlier versions are not affected by this mis-feature
3 years ago
Jussi Pakkanen
f2fe271198
Add support for finding Javascript source libraries with Emscripten.
3 years ago
Xavier Claessens
9da99e7a59
destdir: Allow relative to build directory
...
Meson already works like that, except in do_copydir() that requires
absolute destdir. Better explicitly support that instead of leaving it
undefined and unconsistent.
3 years ago
David Seifert
46380b5b1e
doc: mention CUDA_PATH in dependency('cuda') [skip ci]
3 years ago
Florian Schmaus
dbf2ace6ca
coredata: throw a MesonException on unknown options
...
Fixes #7288 .
3 years ago
miebka
e665864660
Added release snippet
3 years ago
Weston Schmidt
2e30b5a1e2
Add support for gcovr --sonarqube report
...
Sonarcloud.io only can read the sonarqube based report that gcovr can
produce. This change enables support for this output in meson and
ninja.
Signed-off-by: Weston Schmidt <Weston_Schmidt@alumni.purdue.edu>
3 years ago
Dylan Baker
5583e44826
qt: Allow CustomTargets for qt.preprocess source arguments
...
This works for `moc_*` and `ui_files`, but it never could have worked
for `qresources` due to the implementation assuming a `str` or `File`.
To restore previous compatibility I've added `CustomTarget` where it
would have worked, but not where it would have failed, the former would
raised an exception along the lines anyway.
Fixes #9007
3 years ago
Jussi Pakkanen
116e4d4850
Set up the 0.59.0 release.
3 years ago
Dylan Baker
1f7ab2f010
modules/python: Add type annotations
...
There's still a number of things that don't properly type check, that's
expected though as the input is often unvalidated and assumed good.
3 years ago
Andrea Pappacoda
c8c7c56897
docs: fix minor typos in Machine-files.md
3 years ago
Jon Turney
c78e6cac80
Allow `skip_*` test.json keys at top-level or in `matrix:`
3 years ago
Jon Turney
a2e44296c9
Add `skip_on_os` to test.json
3 years ago
Jon Turney
7126fbaf81
Add `skip_on_jobname` to test.json
...
Plan to replace the hard-coded list of 'may be skipped' framework tests in
skippable() with annotations in test.json which record 'will be skipped
in these specific CI jobs'.
If the value of the MESON_CI_JOBNAME env var (an arbitrary string
expected to be unique for each CI configuration) contains any of the
strings in the `skip_on_jobname` key in test.json, the test is expected
to output MESON_SKIP_TEST.
Unexpected skips or runs are treated as an error.
Future work: Maybe we should add additional count categories 'unexpected
skip' and 'unexpected not skipped', rather than counting those as 'skipped'
and 'failed', respectively.
3 years ago
Connor Abbott
62702005eb
windows: Support wrc resource compiler
...
It has a similar interface to windres, but it produces ELF instead of
COFF binaries. It uses its own preprocessor which doesn't support
creating depfiles, but we can convince it to use the system preprocessor
instead and pass those arguments using the --preprocessor option.
Together with some hacks to override the shared library/executable
suffix and some wine patches [1] this is enough to compile dxvk when
ripping out the hand-rolled rc support.
[1] https://www.winehq.org/pipermail/wine-devel/2021-July/190100.html
https://www.winehq.org/pipermail/wine-devel/2021-July/190098.html
https://www.winehq.org/pipermail/wine-devel/2021-July/190099.html
https://www.winehq.org/pipermail/wine-devel/2021-July/190101.html
3 years ago
Jon Turney
746f00e69e
Users: Update URL for pacman
...
git.archlinux.org has been decomissioned [1]
[1] https://lists.archlinux.org/pipermail/arch-dev-public/2021-June/030466.html
3 years ago
Jon Turney
77f0820a8e
Consistently capitialize 'Meson' in Dependencies.md
...
Consistently capitialize 'Meson' where used as a proper name in
Dependencies.md.
3 years ago
Jon Turney
bfafb83069
Improve text for dependency detection methods
...
Make it clear that search order for 'auto' there only applies to generic
dependency names. Drop 'system' from that list, as it's not actually
used for generic dependencies (nor is it defined what it would do).
3 years ago
Jussi Pakkanen
ee46c0242f
Fix image link names.
3 years ago
Dylan Baker
bc4201a7f1
interpreter: add required and disabled to import
...
This is useful both from the perspective of optional functionality that
requires a module, and also as I continue to progress with Meson++,
which will probably not implement all of the modules that Meson itself
does.
3 years ago
Jon Turney
5968a05adb
Alphabetize dependency names with special lookup
3 years ago
Jon Turney
e047a1f622
Move 'builtin', 'config-tool' and 'system' methods to discussion of methods
3 years ago
Simon Ser
1f3adc4dbe
Add feed arg to custom_target()
3 years ago
andy5995
81ca0ec7ae
Users.md:add rmw
3 years ago