summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2025-08-01cargo: Use -rs suffix only for rust ABIXavier Claessens
A cargo package can build multiple crate types for the same library. Using the same name in meson.override_dependency() fails. [pbonzini: adjust documentation]
2025-08-01format: add --source-file-path argument for stdinCharles Brunet
Fixes #14539. Otherwise, .editorconfig is read from current working directory, and there is no way to know what file name to filter to choose the right section of editor config.
2025-07-29docs: update for mixed Rust/non-Rust sourcesPaolo Bonzini
2025-07-28docs: Reduce reading comprehension requirements for install functionsNirbheek Chauhan
As we are becoming more popular, the docs have to be clearer because we're being exposed to a wider base of users with highly variable English language ability. Some of those can be helped with translations, but for the rest, let's repeat ourselves. Fixes https://github.com/mesonbuild/meson/issues/14843
2025-07-25Add swift_module_name target argumentKatalin Rebhan
Allows explicitly setting the Swift module name. By default, this is set to the target name, which we might want to change for various reasons, for example when it isn't a valid module name, or when building two targets with the same module name (e.g. a host and native variant).
2025-07-24Add suffix function to the fs moduleJouke Witteveen
2025-07-24Add -parse-as-library to Swift library targetsKatalin Rebhan
2025-07-22Docs: standardize between list and array as arrayDylan Baker
When arrays were added they were called arrays. Because the are implemented with Python lists, that language started leaking into talking about Meson types. This is confusing. I've attempted, as much as possible, to move to using one name, array. I picked array because 1) It's the original name used, and 2) what Meson has are more properly arrays as they have a fixed length, while a critical property of lists are the ability to link and unlink them. There are a couple of places where the list language has leaked into the names of keyword arguments. I have not made any attempt to change those, I don't know if it's that useful or not.
2025-07-21clang-tidy: run tool only on source files participating in targetsSahnvour
clang-tidy can't be ran as is on every source file and header
2025-07-19interpreter: Add a flatten() method to arraysDylan Baker
This allows users to do two things, flatten potentially nested arrays themselves, and, to safely convert types that may be an array to not an array. ```meson x = [meson.get_external_property('may_be_array)].flatten() ``` ```meson x = ['a', ['b', 'c']] assert(x.flatten() == ['a', 'b', 'c']) ```
2025-07-18wrap: Print deprecation warnings when using wrapdb v1Xavier Claessens
2025-07-18rust: add rust_dynamic_std optionPaolo Bonzini
As an initial implementation, simply adding "-C prefer-dynamic" works for binary crates (as well as dylib and proc-macro that already used it). In the future this could be extended to other crate types. For more information see the comment in the changed file, as well as https://github.com/mesonbuild/meson/issues/8828 and https://github.com/mesonbuild/meson/issues/14215. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-07-18docs: document new behavior of yielding optionsPaolo Bonzini
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-07-14docs: document missing languages in project()meator
2025-07-14interpreter: allow retrieving build options with get_option()Paolo Bonzini
Fixes: #14788 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-07-07docs: update project(default_options: ...) for 1.8 changesPaolo Bonzini
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-07-07docs: document order in which options are appliedPaolo Bonzini
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-06-23docs: Document Swift/C++ interoperability featureAlbert Tang
2025-06-17docs: Make RefMan create symbols for all the referencesCorentin Noël
This makes all the symbols searchable from the .devhelp file.
2025-06-17docs: use backticks for envvarsSam James
2025-06-17docs: fix formatting of pkg_config_libdir propertySam James
2025-06-16docs: Generate the devhelp file from the documentationCorentin Noël
Allows to browse the documentation offline.
2025-06-09modules/gnome: Allow to generate markdown and reStructuredText dbus docCorentin Noël
gdbus-docgen supports reStructuredText output since 2.71.1 and markdown since 2.75.2, allow to simply generate it.
2025-06-05swift: Pass C base compile options to swiftcKatalin Rebhan
2025-06-05docs: Update docs for eldKushal Pal
Update reference table for eld Mention eld support in release notes Signed-off-by: Kushal Pal <kushpal@qti.qualcomm.com>
2025-05-22Use two hashes in snippet.Jussi Pakkanen
2025-05-22docs: Add response files entryL. E. Segovia
See https://github.com/mesonbuild/meson/pull/14391
2025-05-19docs: Note that debug=false does not define NDEBUGPaul Caprioli
2025-05-15docs: mention masm support in release notesZephyr Lykos
2025-05-14docs: gender neutral pronouns for "the user"nasso
2025-05-08Update Getting-meson_zh.mdDaniel
Sync with the English version
2025-05-06Add license keyword to pkgconfig generateCharles Brunet
Fixes #14270.
2025-05-05cmake: include_directories() returns an arrayPaolo Bonzini
See the way that it is created: dir_node = assign(dir_var, function(include_directories, tgt.includes)) sys_node = assign(sys_var, function(include_directories, tgt.sys_includes, {is_system: True})) inc_node = assign(inc_var, array([id_node(dir_var), id_node(sys_var)])) Due to incorrect documentation, commit 1f4bb3737 ("modules/cmake: Make fully type safe", 2025-04-02) added an incorrect assertion. Fix both. Fixes: #14530 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-05-05docs/users: drop + from GTKDylan Baker
This reflects the upstream project, which dropped the + in 2020
2025-05-05docs/users: Trim down only to highly notable projectsDylan Baker
This removes a lot of projects from our list of users, unless they are very notable.
2025-05-05docs/users: remove "not default" from XserverDylan Baker
2025-05-05docs/users: Split notable organizations from individual projectsDylan Baker
Some of the projects listed are part of larger umbrella organizations, which have many project using Meson. Instead of listing every single project from them, list the organization itself and a couple of major projects (if we have any listed) from those organizations.
2025-05-03docs: disambiguate exe_wrapperAndy MacGregor
As of this commit, meson has three different pathways to set an exe_wrapper field. exe_wrapper set through `meson test --wrapper` CLI arg or `add_test_setup()` meson function argument are treated equally. Only one wrapper through either of these routes may be set though. The exe_wrapper field set in the cross file is handled separately internally in mtest.py, and holds a little more consequence over meson test behavior than the other two fields. Perhaps a future version of meson should treat these fields equally and explicitly document how they are combined. For now, I think its a better first step to document current behavior to generate discussion about how exactly the future version should behave.
2025-05-01docs: Update link to rust-analyzer docsM Henning
2025-04-29docs: fix markup in release notesBenjamin Gilbert
2025-04-28Add release notes for 1.8 that I forgot.Jussi Pakkanen
2025-04-23docs: users: list is for notable meson adopteesSam James
We don't want churn with thie list for every project someone creates that uses Meson. Change the intro to say we want notable projects and link to a GitHub search for 'meson.build' files for people who want further examples to consider.
2025-04-20document android_exe_type in release notesPaolo Bonzini
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-04-20document c_std=c2y in release notesPaolo Bonzini
2025-04-20document improvements to Objective-C and Objective-C++Paolo Bonzini
2025-04-20document -Dswift_std in release notesPaolo Bonzini
2025-04-20add wayland stabilisation to release notesPaolo Bonzini
2025-04-20fix typoPaolo Bonzini
2025-04-20move "since 1.8.0" for rust.doctest to the right placePaolo Bonzini
2025-04-17android: Added android_exe_type kwargs to executableFlorian "sp1rit"​
By setting android_exe_type to `application`, the executable gets actually built as a shared library instead of an executable. This makes it possible to use an application within an android application process. mesonbuild#13758 https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7555/