aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2021-09-24compilers/rust: Add support for clippyDylan Baker1-0/+6
Clippy is a compiler wrapper for rust that provides an extra layer of linting. It's quite popular, but unfortunately doesn't provide the output of the compiler that it's wrapping in it's output, so we don't detect that clippy is rustc. This small patch adds a new compiler class (that is the Rustc class with a different id) and the necessary logic to detect that clippy is in fact rustc) Fixes: #8767
2021-09-24rustc: implement pic argsDylan Baker1-0/+1
2021-09-24compilers/rust: Implement warning levelsDylan Baker1-0/+1
Currently this implements 3 warning levels, 1 and 2 are just the "default" set by rustc, 3, is "everything is a warning", and 0 is "nothign is a warning".
2021-09-24rust: Add werror argumentsDylan Baker1-0/+4
2021-09-24Add option to to transpile Cython to C++Dylan Baker2-0/+51
This patch adds a new meson built-in option for cython, allowing it to target C++ instead of C as the intermediate language. This can, of course, be done on a per-target basis using the `override_options` keyword argument, or for the entire project in the project function. There are some things in this patch that are less than ideal. One of them is that we have to add compilers in the build layer, but there isn't a better place to do it because of per target override_options. There's also some design differences between Meson and setuptools, in that Meson only allows options on a per-target rather than a per-file granularity. Fixes #9015
2021-09-12new custom dependency lookup for iconvEli Schwartz2-0/+17
Also internally needed by intl, so add that as a proxied dependency instead of coding it manually.
2021-09-10docs: add note about built-in options supportePirat1-0/+2
Older meson versions would not honor the `<lang>_args` and `<lang>_link_args` in the built-in options section, add a note about this to the relevant section as it can cause quite some surprises when using a crossfile with an older meson version.
2021-09-07docs: document new behavior with respect to mixed language link testsPaolo Bonzini2-1/+25
2021-09-06mintro: add installed_planFilipe Laíns1-10/+62
Signed-off-by: Filipe Laíns <lains@riseup.net>
2021-09-01add release note formally allowing run_target in an aliasEli Schwartz1-0/+20
We've now fixed it so it works, and it provides useful functionality, e.g. creating a custom target that builds multiple gettext domains in one action.
2021-09-01msvc: Assume UTF8 source by defaultXavier Claessens1-0/+16
Currently every project that uses UTF8 for its source files must add '/utf-8' argument otherwise they don't work non-English locale MSVC. Since meson.build itself is assumed to be UTF8 by default, seems better to assume it for source files by default too. For example: - https://gitlab.freedesktop.org/gstreamer/gst-build/-/blob/master/meson.build#L62 - https://gitlab.gnome.org/GNOME/glib/-/blob/main/meson.build#L29
2021-08-31i18n module: provide targets as return value for gettext()Eli Schwartz2-0/+11
Users may wish to make use of these files for their own purposes. For example, the -pot and -update-po pseudo targets could be reused in an alias_target(), and at least one person wanted to reuse the built .mo files as custom_target input. Fixes #6227
2021-08-31interpreter: Make comparisons of different types a hard errorDaniel Mensinger1-0/+5
2021-08-31Make assignment a statement in Syntax.md (#9188) [skip-ci]jimman20031-3/+3
* Make assignment a statement in Syntax force to change line 709 to something kind of non sensical * Applied code review changes
2021-08-30Add missing "disabler" kwarg to python.dependency()Xavier Claessens1-0/+2
There is a unit test using it and now fails because the warning about unknown kwarg became fatal.
2021-08-28docs: update LD docs link in FAQ.mdAndrea Pappacoda1-1/+1
2021-08-27FAQ: document some community work toward implementing Meson in C/C++Eli Schwartz1-0/+10
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
2021-08-23interpreter: Fix dependency(..., static: true) fallbackXavier Claessens2-0/+51
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.
2021-08-22Fix syntax error that broke the websiteEli Schwartz1-1/+1
Regression in commit be92e3783751b8bf1481dc81635e86b70977698a
2021-08-22Add Java moduleTristan Partin4-0/+35
The Java module will serve as a source for easing Java development within Meson. Currently it only supports generating native header files.
2021-08-21Update instructions on installing with Pip. Closes #9034.Jussi Pakkanen1-12/+14
2021-08-20Merge pull request #9012 from dcbaker/submit/qt-custom-targetsJussi Pakkanen2-8/+28
Qt module generated sources
2021-08-20external-project: Add support for WAF build systemXavier Claessens2-0/+9
Fixes: #7638
2021-08-18docs: add snippet for qt compile_ method generated inputsDylan Baker1-0/+13
2021-08-18modules/qt: Allow using generated sources for compile_translations ts_filesDylan Baker1-1/+3
2021-08-18modules/qt: Allow Generated sources in compile_resourcesDylan Baker1-2/+3
2021-08-18modules/qt: allow passing generated targets to compile_uiDylan Baker1-2/+3
2021-08-18modules/qt: Allow generated sources for arguemnts to compile_mocDylan Baker1-3/+6
2021-08-18test runner: add the ability to configure test.json for python pathsEli Schwartz1-1/+9
Adds new installed file types with @VAR@ substitution.
2021-08-18docs: Remove the deleted function find_libraryDaniel Mensinger3-9/+3
2021-08-17Add install tagsXavier Claessens4-27/+91
Fixes: #7007.
2021-08-16interpreter/compiler: remove unittest_args methodDylan Baker1-0/+4
It's not documented, and it's been marked deprecated for who knows how long.
2021-08-16Document new rules for green CI.Jussi Pakkanen1-0/+15
2021-08-16Add unset_variable()Tristan Partin2-0/+27
This should be useful for helping to control variable scope within Meson. CMake has something similar for controlling scope.
2021-08-15editorconfig: add setting to trim trailing whitespaceEli Schwartz6-18/+15
and clean up all outstanding issues Skip 'test cases/common/141 special characters/meson.build' since it intentionally uses trailing newlines.
2021-08-15Revert "compilers/c++: Add MSVC option to make the __cplusplus define accurate"Jussi Pakkanen1-7/+0
This reverts commit 0b97d585480e973d8b149618901f7a4ddfa1a906.
2021-08-13Document that custom_target() install_dir can be a listXavier Claessens1-1/+20
2021-08-12fix the previous commit which deleted a doc file but not the index entryEli Schwartz1-1/+0
The CI still passed, or should I say, didn't run, and I failed to notice this in manual review. Sorry!
2021-08-12Update wrap documentation to describe new submission processEli Schwartz2-243/+57
2021-08-11compilers/c++: Add MSVC option to make the __cplusplus define accurateDylan Baker1-0/+7
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
2021-08-08Add support for finding Javascript source libraries with Emscripten.Jussi Pakkanen1-0/+13
2021-08-04destdir: Allow relative to build directoryXavier Claessens3-0/+15
Meson already works like that, except in do_copydir() that requires absolute destdir. Better explicitly support that instead of leaving it undefined and unconsistent.
2021-07-27doc: mention CUDA_PATH in dependency('cuda') [skip ci]David Seifert1-1/+3
2021-07-26coredata: throw a MesonException on unknown optionsFlorian Schmaus1-0/+5
Fixes #7288.
2021-07-25Added release snippetmiebka1-0/+3
2021-07-23Add support for gcovr --sonarqube reportWeston Schmidt2-0/+3
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>
2021-07-23qt: Allow CustomTargets for qt.preprocess source argumentsDylan Baker1-4/+4
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
2021-07-22Merge pull request #8992 from dcbaker/submit/modernize-python-module-dependencyJussi Pakkanen1-0/+3
Cleanup the python module
2021-07-18Set up the 0.59.0 release.0.59.0Jussi Pakkanen19-211/+236
2021-07-13modules/python: Add type annotationsDylan Baker1-0/+3
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.