summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2024-11-17docs: fix description of `py.install_sources` argumentsRalf Gommers
There is actually very little overlap between `install_sources` and `install_data` in arguments they accept: only 2/7 keywords for `install_data` apply to `install_sources`. Closes gh-12601
2024-11-17Update Users.md with netatalkDaniel Markstedt
2024-11-11Add Linux PAM to list of usersNoah Gitsham
They recently made the switch from Autotools to Meson
2024-11-06Check for uppercase 'head' when updating subprojectsandy5995
2024-11-06vcs_tag: Add install kwargsXavier Claessens
Fixes: #4893
2024-11-05Document hotdoc.generate_doc(depends:) kwargFrank Dana
Document the results of commit bcc127b3f, which added 'depends' and deprecated using 'dependencies' for custom targets. Fixes: #11479
2024-11-04Add archiver to reference tablesSebastian Ehlert
Meson allows to set the archiver via the `AR` environment variable and a native / cross file. Only the latter approach seems to be documented. This patch adds the `AR` environment variable to the reference tables next to the compilers.
2024-11-01modules/wayland: document that scan_xml can take any protocol.Érico Nogueira
The quick example can be slightly misleading in implying that scan_xml must use find_protocol, which is not the case. So explicitly mention it in the scan_xml docs.
2024-10-31Correct typo in example Python module optionLuke Smith
python.install_env is the correct command, as documented in https://mesonbuild.com/Builtin-options.html#python-module. python.install_venv causes an error, it is not immediately obvious that the slight typo is the cause.
2024-10-28external-project: Setup devenv to run programsXavier Claessens
2024-10-26Reimplement several methods for Fortran compilersSébastien Villemot
The output_is_64bit, sizeof, cross_sizeof, compute_int and cross_compute_int methods are reimplemented for Fortran compilers. Those inherited from CLikeCompiler do not work since they assume C or C++. Note that those tests rely on Fortran 2008 features (notably the c_sizeof operator). Closes #12757
2024-10-24cargo: Fix feature resolutionXavier Claessens
Introduce a global Cargo interpreter state that keeps track of enabled features on each crate. Before generating AST of a Cargo subproject, it downloads every sub-subproject and resolves the set of features enabled on each of them recursively. When it later generates AST for one its dependencies, its set of features and dependencies is already determined.
2024-10-21docs: grammar suggestion ("Clarity..")andy5995
2024-10-21docs: fix typoBenoit Pierre
2024-10-20Add GNU/Hurd kernel resultsSamuel Thibault
uname -s does return gnu there. Resolves: https://github.com/mesonbuild/meson/issues/13740 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2024-10-20Update docs and version number for release.Jussi Pakkanen
2024-10-17Update release notes for 1.6.0.Aditya Vidyadhar Kamath
Closes: #13773.
2024-10-11cargo: Document that cargo subprojects is an experimental featureXavier Claessens
2024-10-11Add options for standard parameter for nvc and nvc++Kevin Meagher
fixes #13271
2024-10-05docs: Add windres to cross-compiling exampleandy5995
2024-10-04docs: Mention that rust edition/standard 2018 or later should be usedDylan Baker
As the 2018 standard changes the way rust handles externs, and is the first edition that allows `--extern crate=path` to completely replace (in all but a few corner cases) the use of `extern crate` in the rust files.
2024-10-02Document the .kernel() and .subsystem() methodsDylan Baker
Which were added in Meson 1.2, but don't have entires in the reference manual.
2024-10-02docs: Use examples for build_machine.cpu() that genuinely existSimon McVittie
Previously, the documentation said that the CPU name might be amd64, but in fact x86_64 (AMD64) machines are detected as x86_64 in both cpu() and cpu_family() during native builds. Reference: https://buildd.debian.org/status/fetch.php?pkg=libglvnd&arch=amd64&ver=1.7.0-1%2Bb1&stamp=1714222481&raw=0 Instead, mention the only common case for more-specific CPU names other than 32-bit x86, namely 32-bit ARM. On Debian's autobuilders (which are running 32-bit user-space on a 64-bit-capable CPU), native builds genuinely do present as `armv8l`: https://buildd.debian.org/status/fetch.php?pkg=libglvnd&arch=armhf&ver=1.7.0-1%2Bb1&stamp=1714223924&raw=0 On other machines, they might be some older CPU functionality level. At the time of writing, cpu() *can* return amd64 when using `meson env2mfile` on Debian systems, but I think that's a bug in env2mfile (#13742). Signed-off-by: Simon McVittie <smcv@debian.org>
2024-10-01Add a simple reproducibility test command.Jussi Pakkanen
2024-09-29docs: update the Visual Studio guide for the post-0.59 era with automatic vsenvEli Schwartz
For many years now, meson hasn't required manually entering a Visual Studio command prompt but has autodetected it. This confuses some readers of this outdated documentation into thinking it is much harder than it is.
2024-09-24linkers: basic support for the 'zig cc' linkerAndrei Alexeyev
2024-09-24qt module: allow has_tools to specify which tools to checkPierre Lamot
This allows checking for tools that may not be available in older version of qt or avoiding requesting tools that may not be necessary for a given project Co-authored-by: Nirbheek Chauhan <nirbheek@centricular.com>
2024-09-21add doc snippetunknown
2024-09-21add descriptionunknown
2024-09-21Document get_variable(system)unknown
2024-09-19Fix typosspaette
2024-09-14Fix various incorrect uses of `its` vs `it's`.Andrew McNulty
These errors can make reading comments and documentation unnecessarily confusing for users and contributors who do not speak English as their first language.
2024-09-12add epiphanyspaette
2024-09-11Fix typosspaette
2024-09-11Harmonize d_import_dirs and include_directories behavior.Andrew McNulty
This commit harmonizes the handling of `d_import_dirs` and `include_directories`. The treatment of `d_import_dirs` was also different depending on the context: in `declare_dependency` it was treated like the `include_directories`, but in `build_target` et al, it had special treatment. With this commit, they are all treated by the same function. The documentation has been updated to reflect this. Fixes #12742
2024-09-06alias_target with both_libs builds bothCharles Brunet
2024-09-06auto select static or shared when linking both_libraries togetherCharles Brunet
2024-09-06add default_both_libraries core optionCharles Brunet
2024-09-04docs: Update descriptions of `host_machine.system()` about WindowsLIU Hao
There are two environments on Windows: * When invoked in a Cygwin or MSYS2 MSYS shell, `host_machine.system()` returns `cygwin`. * When invoked in a MSYS2 MINGW32/MINGW64/UCRT64/CLANG64/etc., `host_machine.system()` returns `windows`.
2024-09-03fix a typoyehor
2024-08-30Feature checks: fall back to reporting insufficiently portable featuresEli Schwartz
When projects do not specify a minimum meson version, we used to avoid giving them the benefit of the Feature checks framework. Instead: - warn for features that were added after the most recent semver bump, since they aren't portable to the range of versions people might use these days - warn for features that were deprecated before the upcoming semver bump, i.e. all deprecated features, since they aren't portable to upcoming semver-compatible versions people might be imminently upgrading to
2024-08-30Extend MESON_TESTTHREADS usageMarek Pikuła
Previously, setting `MESON_TESTTHREADS` to a number lower than 1 resulted in unexpected behavior. This commit introduces test for negative value (with fallback to 1), and fallback to core count in case it is set to 0. It improves experience in job-matrix type of CI workflows, where some jobs within the matrix require single job execution, whereas others can default to taking core count as the job count. Signed-off-by: Marek Pikuła <m.pikula@partner.samsung.com>
2024-08-27Allow external programs in test()'s 'args' parameterDavid Gibson
Although it's not especially common, there are certainly cases where it's useful to pass the path to an external program to a test program. Fixes: https://github.com/mesonbuild/meson/issues/3552 Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2024-08-12docs: fix a few grammar and formatting issuesDmitry V. Levin
2024-08-05docs: fix example for feature.requireMarvin Scholz
The example incorrectly uses `then` after the if condition, which is incorrect meson syntax as meson does not support a `then` keyword.
2024-08-04docs: document prefer_static effect on dependency()Sertonix
Ref https://github.com/mesonbuild/meson/pull/9603
2024-07-28add initial support for llvm-flangH. Vetinari
2024-07-22docs: make tutorial compatible with GLib versions older than 2.74LegStrong
2024-07-18Link include_directories to implicit_include_directoriesEnrico Zini
2024-07-15cmake: Only propagate interface link flags in depJonathon Anderson
CMake has two target properties, LINK_OPTIONS and INTERFACE_LINK_OPTIONS. The former is for link flags that apply only to the target (PRIVATE). The latter is used for link flags that propagate to dependents (PUBLIC or INTERFACE). Meson currently propagates all flags, PUBLIC and PRIVATE, as part of the generated dependency() which causes problems when some of the private flags are highly disruptive, e.g. `-Wl,--version-script`. Tease apart the two kinds of link flags and, for non-static libraries, only propagate the PUBLIC/INTERFACE flags and not the PRIVATE ones.