aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2022-01-23Subprojects.md:add extra detailandy59951-9/+24
This adds a link https://mesonbuild.com/Builtin-options.html#specifying-options-per-subproject in two different places and provides an example for changing the default options. This info is partially based on a [recent discussion](https://github.com/mesonbuild/meson/discussions/9830) between me and @eli-schwartz [skip ci]
2022-01-23Subprojects.md:add link to is_subproject()andy59951-1/+1
2022-01-22fix broken version annotations for the new itstool_join featureEli Schwartz1-1/+1
It was not added in 0.61.0 as that was already released.
2022-01-22Merge pull request #9742 from ximion/wip/itstoolJussi Pakkanen2-0/+17
i18n: Add support for joining XML localization via itstool
2022-01-21i18n: Add support for joining XML localization via itstoolMatthias Klumpp2-0/+17
2022-01-18interpreterobjects: deprecated passing a number to configuration_data.set10Dylan Baker2-3/+12
This is currently allowed, and is used in at least a few projects. It was not intended to work or documented, but it does and since it is in use a full deprecation period must be used. A warning has also been added for values < 0, which have surprising behavior.
2022-01-17index.md:add link to GitHub Discussions sectionandy59951-5/+7
2022-01-16Subprojects.md:add single quotes around subproject and variable nameAndy Alt1-1/+1
2022-01-15gnome.genmarshal: restore the ability to pass sources as Files objectsEli Schwartz1-2/+1
It used to support: - a single string - an array of anything And as long as CustomTarget supported it too, everything worked fine. So, a `files('foo')` worked but a `files('foo')[0]` did not, which is silly... and it's not exactly terrible to use files() here, the input is literally a list of source files. Fixes building gnome-terminal Fixes #9827 Test updated by Nirbheek Chauhan <nirbheek@centricular.com>
2022-01-14docs/dep.yaml: davault -> defaultDylan Baker1-1/+1
2022-01-11link to mesa website instead of gitlabErik Faye-Lund1-1/+1
The mesa website is a bit more helpful as an introduction to the project than the gitlab-project. So it seems better to link there instead.
2022-01-10bump minimum required version of python to 3.7Eli Schwartz3-4/+11
Comment out the pending deprecation notice. It cannot be reached anymore, but is still useful for the next time we do a version bump.
2022-01-10docs: fix rust module bindgen argumentsDylan Baker1-5/+5
Fixes: 9795
2022-01-10remove the RPM moduleEli Schwartz4-18/+10
It is unmaintained, broken (frequently for long periods of time) and not really required for any meson functionality. Its purpose is to be used as a one-shot tool for creating a distro package recipe, and then deleted from your meson.build files. Due to its fragile dependency on coredata implementation details, we cannot assume it will reliably work, or continue to work, without someone who is actively willing to take responsibility for it. Even if that were to happen, this might be better off as an external script that parses introspection data. Closes #9764 Closes #9763
2022-01-10Merge pull request #9739 from mathstuf/armclang-supportJussi Pakkanen1-0/+6
Armclang support
2022-01-10Prepare release 0.61.0.0.61.0Jussi Pakkanen13-120/+139
2022-01-10add pending deprecation notice for python 3.6Eli Schwartz1-0/+13
2022-01-10Running-Meson.md: fix a broken linkx-yuri1-1/+1
2022-01-09Remove docs for ghwt that got deleted ages ago.Jussi Pakkanen2-44/+0
2022-01-07Merge pull request #9773 from annacrombie/masterJussi Pakkanen6-8/+410
Add a man page backend to refman
2022-01-06add release notes for refman man pageStone Tickle1-0/+4
2022-01-06add man page generation to buildStone Tickle1-0/+16
2022-01-06add man page backend to refmanStone Tickle2-1/+385
2022-01-05Fix syntax highlighting Continuous-Integration.mdJohn Kilpatrick1-1/+1
2022-01-05cleanup _extract_meson_version()Stone Tickle2-7/+5
2022-01-03armltdclang: add support for ARM Ltd.'s `armclang` toolchainBen Boeckel1-0/+6
This is another toolchain also called `armclang`, but it is not a cross compiler like Keil's `armclang`. It is essentially the same as `clang` based on its interface and CMake's support of the toolchain. Use an `armltd` prefix for the compiler ID. Fixes: #7255
2022-01-02docs: Update yelp documentation to reflect what it is actually doingPablo Correa Gómez1-2/+2
2021-12-30fix incorrect docs for add_*_scriptEli Schwartz1-8/+23
They claimed that all of these functions accepted any posargs or varargs that install scripts supported. This was inconsistent with both the types that meson currently allowed, and the types that we documented in refman 1.0 *should* be allowed. Take the opportuninty to be clear as refman 1.0 never was, about the difference between types supported in the first posarg, and the ypes supported in succeeding varargs.
2021-12-17add ft32 cpu familyRafael Silva1-0/+1
2021-12-15rewriter: create {add,rm}_extra_files commandsCeleste Wouters2-1/+38
Add ability to mutate a target's `extra_files` list through the rewriter. The logic is copied from sources add/rm, but changes the `extra_files` kwarg instead of the sources positional argument. Has additional logic to handle creating the `extra_files` list if it doesn't exist.
2021-12-08docs: Add the `configuration` keyword argument to `configure_File`Dylan Baker1-0/+7
We were missing the most important keyword argument of them all!
2021-12-07gnome/genmarshal: Add missing kwargs to permittedKwargsDylan Baker1-7/+12
There are thee arguments that are passed directly to CustomTarget which are not in the permittedKwargs: depends, depend_files, and build_always. The first two are obviously generically useful, as they allow creating correct ordering. The latter, not so much. Since it was an error to pass it, we'll just delete it.
2021-12-06gnome module: document and fix install_dir x3, by allowing false *_gir and ↵Eli Schwartz1-2/+2
*_typelib generate_gir forces building both the typelib and gir, and some people only want one or the other (probably only the typelib?) which means flagging the other as install_dir: false in the same way custom_target supports. As this always worked, albeit undocumented, make sure it keeps working. It's pretty reasonable to allow, anyway. Fixes https://github.com/mesonbuild/meson/pull/9484#issuecomment-980131791
2021-12-06interpreter: allow extract_objects to receive generated sourcesPaolo Bonzini1-0/+4
Fixes: #8333
2021-12-06doc: fix missing kwarg in qt5 moduleEli Schwartz1-0/+1
compile_moc accepts "dependencies" for the same reason preprocess does, but the original documentation never copied this over from the preprocess docs. See: https://github.com/mesonbuild/meson/issues/9683#issuecomment-986825041
2021-12-01gnome module: document that yelp(languages: ...) is deprecatedEli Schwartz1-1/+5
If you use it, we emit a warning telling you to use LINGUAS instead. So we should warn people in the documentation as well. Fixes #9495
2021-12-02cmake: Deprecate CMake <3.14 and warn for <3.17 (#9677)Daniel Mensinger1-0/+7
* cmake: Deprecate CMake <3.14 and warn for <3.17 See: - #7832 - #9676 * cmake: Add deprecation release note snippet
2021-12-01add install_symlink functionPablo Correa Gómez2-0/+45
Allows installing symlinks directly from meson, which can become useful in multiple scenarios. Current main use is to help moving forward #9557
2021-11-29docs: add missing argument documentation for run_command captureDylan Baker1-0/+9
2021-11-25Stop backend_startup_project from erasing the last project in a VS solutionLuke Elliott1-0/+4
if it is not the specified project.
2021-11-24shared_module: Add soname when used as a link targetNirbheek Chauhan2-7/+9
Emit a detailed deprecation warning that explains what to do instead. Also add a unittest. ``` DEPRECATION: target prog links against shared module mymod, which is incorrect. This will be an error in the future, so please use shared_library() for mymod instead. If shared_module() was used for mymod because it has references to undefined symbols, use shared_libary() with `override_options: ['b_lundef=false']` instead. ``` Fixes https://github.com/mesonbuild/meson/issues/9492
2021-11-21Clarify some wording for compiler.first_supported_argumentLuke Drummond1-2/+3
After a discussion implementing this for muon [1] and clarification on IRC on Meson's behaviour. [1] https://lists.sr.ht/~lattis/muon/patches/26722
2021-11-21Support Visual Studio 2022 backendCrend King4-15/+26
2021-11-15Merge pull request #9520 from dcbaker/submit/gnome-first-typed-kwargsJussi Pakkanen1-0/+13
Add typed_kwargs to some of the gnome module functions
2021-11-15dependencies/zlib: Add system zlib method for androidDudemanguy1-1/+1
The same method that the BSDs use should also work for android. Also update the tests and docs where appropriate.
2021-11-14Users.md: add mpvDudemanguy1-0/+1
2021-11-09docs: fix refman 2.0 regression in correctly describing ↵Eli Schwartz1-2/+37
find_library(has_headers) All kwargs inherited from has_header need to be prefixed `header_` so we cannot just do straight inheritance. And the part of the description that highlighted the way kwargs are derived and evolved, went entirely missing. Fixes #9551
2021-11-09docs: fix some spelling typosEli Schwartz1-1/+1
2021-11-08modules/gnome: use typed_kwargs for compile_resourcesDylan Baker1-0/+13
2021-11-05Fix markdown formating in find_program.yamlrusty-snake1-2/+2
fixes #9528