summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2025-11-03mlog: add a new log file with the setup logsStéphane Cerveau
Add meson-setup.txt to keep the configure log out of the debug logs.
2025-10-29compilers: add Microchip XC32 compilerLiza Chevalier
The Microchip XC32 compiler is a GCC-based compiler implemented using existing GNU compiler classes. As the XC32 version and GCC version do not match mixins have been implemented to override versions used in versions checks where applicable.
2025-10-29Add snippets.symbol_visibility_header() methodXavier Claessens
Defining public API in a cross platform library is painful, especially on Windows. Since every library have to define pretty much the same macros, better do it in Meson.
2025-10-27rust: drop +SUFFIX from crate namePaolo Bonzini
Allow multiple targets for the same crate name, which is useful when the same crate is used for both the host and the build machine. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-10-24modules/codegen: Add support for bison/byacc/yaccDylan Baker
This adds a similar wrapper to the Lex wrapper for yacc/bison/byacc. The interface is equivalent.
2025-10-24modules/codegen: Add wrapper for lex/flex/reflexDylan Baker
This module is a bit of a dumping ground for code generators, particularly ones that are important and non-trivial to wrap, either due to multiple implementations, major command line changes, or complex outputs (such as those that may output a directory structure). The initially provided method is for lex. It provides a simple wrapper that handles win_flex, reflex, flex, and generic lex.
2025-10-23rust: Add rust_nightly feature optionXavier Claessens
This is used for project to require a nightly Rust compiler, and also for Meson to enable nightly feature if available.
2025-10-23cargo: use both_libraries when appropriatePaolo Bonzini
Fixes: #15028
2025-10-20docs: Document that Cuda doesn't honor the `prefer_static` optionDylan Baker
2025-10-20docs: Not all dependencies use `prefer_static` when `static` is unsetDylan Baker
Cuda, for example, doesn't use `prefer_static`, and will always link statically unless the static value is explicitly set to `true`. This updates the documentation to reflect that.
2025-10-17cargo: define 'features' variable to be used in meson/meson.buildXavier Claessens
2025-10-17cargo: document that it is recommended to use workspacesXavier Claessens
2025-10-17cargo: support workspacesPaolo Bonzini
Extracted from a patch by Xavier Claessens <xclaessens@netflix.com>
2025-10-15revert local_program()Eli Schwartz
This reverts https://github.com/mesonbuild/meson/pull/15107 Explicit objections regarding the design were raised and not answered, so it shouldn't have been merged. It needs to be discussed and revisited.
2025-10-15docs: Fix documentation about sources accepted by BuildTarget(extra_files: )Dylan Baker
2025-10-15build: remove build layer validation of Executable(implib)Dylan Baker
This includes cleaning up some of the type handling to account for cleanups that are done at the DSL level.
2025-10-15Add interpreter kwarg to local_program()Xavier Claessens
2025-10-15Add local_program() functionXavier Claessens
2025-10-15Add --check-diff to meson format, to show what should be formattedJulianne Swinoga
2025-10-14cargo: load a toplevel Cargo.lockPaolo Bonzini
2025-10-14Detect dependency changes in Windows rc compilerCharles Brunet
The `rc.exe` resource compiler neither provides *depfile* support nor allows showing includes, as is possible with C or C++ compilers. Therefore, changes to files included by the `.rc` file did not trigger recompilation of the resource file. A workaround was added to *meson* by calling the preprocessor on the `.rc` file to detect the included headers and adding the result as a dependency to the resource compilation.
2025-10-14Allow compiler methods to accept strings for include_directoriesCharles Brunet
2025-10-14doc: fix version for build_config optionCharles Brunet
was wrongly tagged in 59c3dd1
2025-10-14compilers: clang: pass /nodefaultlibPaolo Bonzini
Work around https://github.com/llvm/llvm-project/issues/129881. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-10-14Generate Android cross files with env2mfile.Jussi Pakkanen
2025-10-08doc: fix bindgen exampleMarc-André Lureau
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2025-10-08vala: Add method to get generated GIR from a build_targetDylan Baker
Fixes: #2296 Fixes: #4481 Fixes: #5968
2025-10-08vala: Add method to build_target to get generated vapi fileDylan Baker
Same as the previous, but for VAPI
2025-10-08vala: add a method to get a generated vala headerDylan Baker
This allows targets that don't link with a vala target to rely on the header generation.
2025-10-08docs: Add vala_header, vala_vapi, and vala_gir to build_target docsDylan Baker
Which have existed for a *long* time, but are only documented in the Vala docs.
2025-10-06docs: fix meson.build example for cementing a version from VCSChris Mayo
2025-10-05Document that custom_target outputs cannot be in a subdirectorySupreeeme
2025-10-01Add documentation for naming scheme.Jussi Pakkanen
2025-10-01Allow CustomTarget source for i18n.xgettextCharles Brunet
Fixes #15054
2025-09-24compilers: clang: map -Db_vscrt to -fms-runtime-libPaolo Bonzini
The main complication here is that passing -fms-runtime-lib during compilation results in a warning: clang: error: argument unused during compilation: '-fms-runtime-lib=dll' [-Werror,-Wunused-command-line-argument] (https://github.com/mesonbuild/meson/actions/runs/17727020048/job/50369771571). So, for compilation expand the -D flags by hand, and only pass -fms-runtime-lib when linking. Fixes: #14571 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-09-15docs: fix pre-1.8 order for per-subproject optionsPaolo Bonzini
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-09-15options: put back in place 1.7 ordering of opt=value vs subp:opt=valuePaolo Bonzini
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-09-11Document internal dep support in pkgconfig.generate `requires` argBenjamin Gilbert
Added in #14750 for 1.9.0. Also add FeatureNew.
2025-09-04docs: Fix grammar ("has" -> "have")William Pursell
The subject of this sentence is the plural "design goals", and the verb must much the pluralism of the subject.
2025-09-03docs: belatedly generate release notes for 1.9.0Eli Schwartz
Fixes: https://github.com/mesonbuild/meson/issues/14984
2025-09-04gnome: Add missing install tag for vapi .deps fileThomas Mühlbacher
2025-09-03Use https for mesonbuild.comTobias Stoeckmann
Since http://mesonbuild.com redirects to https://mesonbuild.com anyway, use https directly in documentation.
2025-09-03Add docs on dependency handling conventions for upstream WrapDB projectsWill Ayd
2025-09-03docs: fix minor error in qt6 modulemeator
2025-08-29docs: clarify dict keys() and values() returns sorted arraysMarvin Scholz
2025-08-29interpreter: add dict.values() methodMarvin Scholz
Analogous to keys(), this returns the values in an array. It uses the same sorting as keys(), else it would quite confusing to return values in a different order than the corresponding keys.
2025-08-28python: add a python.build_config option (PEP 739)Filipe Laíns
Signed-off-by: Filipe Laíns <lains@riseup.net> Signed-off-by: Michał Górny <mgorny@quansight.com>
2025-08-15Remove Google groups. Closes #14912.Jussi Pakkanen
2025-08-02swift: Pass C++ base compile options to swiftcKatalin Rebhan
2025-08-02Add swift_interoperability_mode kwargKatalin Rebhan