summaryrefslogtreecommitdiff
path: root/docs/markdown
AgeCommit message (Collapse)Author
2023-02-15interpreter: add a feature.enable_auto_ifDylan Baker
It's always been strange to me we don't have an opposite method of the `disable_auto_if` method, but I've been pressed to find a case where we _need_ one, because `disable_auto_if` can't be logically contorted to work. I finally found the case where they're not equivalent: when you don't want to convert to a boolean: ```meson f = get_option('feat').disable_auto_if(not foo) g = get_option('feat').enable_auto_if(foo) dep1 = dependency('foo', required : f) dep2 = dependency('foo', required : g) ```
2023-02-15preprocess: Add dependencies kwargXavier Claessens
2023-02-14allow install script to run in dry-run modeCharles Brunet
2023-02-01add cc.has_function_attribute('vector_size')Dudemanguy
2023-01-29Users.md: add @dcantrell /bsdutilsandy5995
2023-01-20docs: Qt compile_moc() parameter errorgroveer
"extra_arguments" should be "extra_args"
2023-01-20Deprecate passing strings to non-string optionsDylan Baker
Currently Meson allow the following (Muon does not): ```meson option('foo', type : 'boolean', value : 'true') option('bar', type : 'integer', value : '42') ``` This is possibly a holdover from very old code, but it's a bad idea and we should stop doing it. This deprecation is the first stop on that journey.
2023-01-18doc: Fix typo in release notesXavier Claessens
2023-01-18Fix typo in doc of sourceset moduleYue Yang
2023-01-18devenv: Allow dumping into file and select a formatXavier Claessens
It is often more useful to generate shell script than dumping to stdout. It is also important to be able to select the shell format. Formats currently implemented: - sh: Basic VAR=prepend_value:$VAR - export: Same as 'sh', but also export VAR - vscode: Same as 'sh', but without substitutions because they don't seems to work. To be used in launch.json's envFile.
2023-01-10docs: Add ld64.lld to linker reference tableDylan Baker
I forgot to ask the original author to add this to the original MR (#11243)
2023-01-04Users.md: add slapt-getandy5995
@jaos please review
2023-01-04clang-cl: supports /std:c++20 now.Luke Elliott
See https://github.com/llvm/llvm-project/commit/a8f75d49
2023-01-04document declare_dependency(object: ...)Paolo Bonzini
2023-01-04allow passing generated objects in the "objects" keyword argumentPaolo Bonzini
Generated objects can already be passed in the "objects" keyword argument as long as you go through an extract_objects() indirection. Allow the same even directly, since that is more intuitive than having to add them to "sources". Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-12-27add builtin option to install licensesEli Schwartz
Unless `meson.install_dependency_manifest()` is explicitly used, this will cause a default implied one to be installed.
2022-12-27add license_files kwarg to projectEli Schwartz
Hook this up to installed dependency manifests. This is often needed above and beyond just an SPDX string -- e.g. many licenses have custom copyright lines.
2022-12-27docs: update IDE-integrations [skip-ci]Stephan Lachnit
- change asabil.meson to vscode-meson - remove unmaintained Meson-UI and Meson Cmake Wrapper - remove note that Ecplise CDT support is experimental
2022-12-27docs: add mmeson to IDE integrations [skip-ci]Stephan Lachnit
2022-12-23Created release note page for 1.0.0.Jussi Pakkanen
2022-12-22Users.md: add i3Oliver Kraitschy
2022-12-19Users.md: Add PostgreSQLAmit D
2022-12-14docs: update description of supported functions for feature optionsEli Schwartz
We support these for a couple more things now.
2022-12-12Fixing typosAndreas Deininger
Convert http to https in some links
2022-12-12Merge pull request #11071 from tristan957/java-moduleJussi Pakkanen
Java module 1.0.0 updates
2022-12-11DOCS: Rust-module: Remove note about unstable APIEwout ter Hoeven
Remove the note about the unstable API of the Rust module, since it's no longer unstable as of Meson 1.0.0.
2022-12-11Rename java.generate_native_headers to java.native_headersTristan Partin
This follows the Meson naming scheme which typically leaves off a verb like generate.
2022-12-11Remove java.generate_native_headerTristan Partin
This API existed for 2 minor releases and was worthless for pretty much every usecase.
2022-12-11Merge pull request #11024 from dcbaker/submit/bindgen-dependenciesJussi Pakkanen
Add a `dependencies` keyword argument to bindgen
2022-12-09Merge pull request #10990 from xclaesse/devenvJussi Pakkanen
devenv: various improvements
2022-12-07devenv: Document recent changesXavier Claessens
2022-12-06interpreter: compiler: Allow array for the prefix kwargMarvin Scholz
2022-12-06docs: Add missing import to the windows module example.Angelo Haller
2022-12-05modules/rust: Add support for dependencies in bindgenDylan Baker
This is needed for cases where we need external C headers, which are passed to clang.
2022-12-05modules/rust: Add support for string include_directoriesDylan Baker
Which we support for basically every other case, but not this one.
2022-12-05Users.md:add aawordsearch projectandy5995
2022-12-05docs: change old SourceForge link to GitHubTony Finch
I accidentally followed a very old link and was briefly discombobulated. To save other people from this mistake, use the current location of the Meson repository, and tweak the surrounding text so it is more clear that it was written nearly 10 years ago. Signed-off-by: Tony Finch <dot@dotat.at>
2022-11-27Add warning_level=everythingDavid Robillard
Adds a new maximum warning level that is roughly equivalent to "all warnings". This adds a way to use `/Wall` with MSVC (without the previous broken warning), `-Weverything` with clang, and almost all general warnings in GCC with strictness roughly equivalent to clang's `-Weverything`. The GCC case must be implemented by meson since GCC doesn't provide a similar option. To avoid maintenance headaches for meson, this warning level is defined objectively: all warnings are included except those that require specific values or are specific to particular language revisions. This warning level is mainly intended for new code, and it is expected (nearly guaranteed) that projects will need to add some suppressions to build cleanly with it. More commonly, it's just a handy way to occasionally take a look at what warnings are present with some compiler, in case anything interesting shows up you might want to enable in general. Since the warnings enabled at this level are inherently unstable with respect to compiler versions, it is intended for use by developers and not to be set as the default.
2022-11-26add missing documentation for python installation default pure kwargEli Schwartz
2022-11-24Fix various spelling errorsDavid Robillard
Found with codespell.
2022-11-24Fix broken link in release notesDavid Robillard
2022-11-22compilers: remove opinionated c++ warning flagEli Schwartz
-Wnon-virtual-dtor is not what people think of as a standard warning flag. It was previously removed from -Wall in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16190 on the grounds that people didn't like it and were refusing to use -Wall at all because it forced this warning. Instead, it is enabled by -Weffc++ which is typically not enabled and even comes with GCC documentation warnings stating that the standard library doesn't obey it, and you might need to `grep -v` and filter out warnings. (!!!) It doesn't fit into the typical semantics of Meson's warning_level option, which usually aligns with compiler standard warning levels rather than a niche ideological warning level. It was originally added in commit 22af56e05aa9cba4740d2ff303d876bb0c3cfb2b, but without any specific rationale included, and has gone unquestioned since then -- except by the Meson users who see it, assume there is a finely crafted design behind it, and quietly opt out by rolling their own warning options with `add_project_arguments('-Wall', ...)`. Furthermore a GCC component maintainer for the C++ standard library opened a Meson bug report specially to tell us that this warning flag is a "dumb option" and "broken by design" and "doesn't warn about the right thing anyway", thus it should not be used. This is a reasonably authoritative source that maybe, just maybe, this flag... is too opinionated to force upon Meson users without recourse. It's gone beyond opinionated and into the realm of compiler vendors seem to think that the state of the language would be better if the flag did not exist at all, whether default or not. Fixes #11096
2022-11-19modules/rust: stabilizeDylan Baker
Mesa is using the rust module in production, so we should stabilize it.
2022-11-15Change `unstable_external_project` to `unstable-external_project`Tristan Partin
Apparently this is a misspelling even though it has been in the docs since the creation of the module.
2022-11-15escape asterisk used for footnotetastytea
unescaped it's turned into a list item
2022-11-13Update Qt6-module.mdHagen Möbius
- qt5 -> qt6 - remove version information from when the Qt6 module was not a thing - linked to dependency function - highlight version information with *...* and placing it at the front of options or on new lines in text - reformatted for shorter lines
2022-11-13Add a note on relocatable pkg-config files to reference manual.Ralf Gommers
2022-11-13docs: installation tags for the GNOME moduleKleis Auke Wolthuizen
PR #10826 adds a couple of missing installation tags for the GNOME module, ensure we document these.
2022-11-11docs: improve ESL text, fix some English errorsGuilherme Janczak
Fixes: - Incorrect, redundant, or overabundant usage of "just" - Missing punctuation - Missing "the" - Parenthesized text far from what it describes There are some subjective changes, I hope those aren't controversial.
2022-11-10fix typoGuilherme Janczak