summaryrefslogtreecommitdiff
path: root/docs/markdown
Commit message (Collapse)AuthorAgeFilesLines
* compilers: add support for c++20/gnu++20Florian Schmaus2020-12-102-2/+2
| | | | Fixes #8084.
* pkgconfig: Respect variable ordering when passed as listXavier Claessens2020-12-101-1/+2
| | | | | | | | This fix a regression introduced in Meson 0.56.0 when using python 3.5. Also mention in documentation that using a meson dict does not guarantee ordering. Fixes: #8074.
* Add prelinking support for static libraries.Jussi Pakkanen2020-12-032-0/+10
|
* Update Vala Preprocessor section in documentation. Closes: #8040 [skip ci]Jerry Casiano2020-11-291-1/+7
|
* compiler: allow non-built internal dependencies as argumentsPaolo Bonzini2020-11-241-0/+6
| | | | | | | | | Allow methods on the compiler object to receive internal dependencies, as long as they only specify compiler/linker arguments or other dependencies that satisfy the same requirements. This is useful if you're using internal dependencies to add special "-D" flags such as -DNCURSES_WIDECHAR, -D_XOPEN_SOURCE_EXTENDED or -DGLIB_STATIC_COMPILATION.
* add dependency recommendation [skip ci]Michael Brockus2020-11-231-0/+8
| | | Co-authored-by: Eli Schwartz <eschwartz@archlinux.org>
* doc: fix confusing use of "build" as a directory argument [skip ci]Eli Schwartz2020-11-223-9/+9
| | | | | | | | | | In most places, we now refer to "builddir/" which is a lot less likely to make people think it is a subcommand which needs to be used literally. This is a regression since commit 276d342ebaf859dd53e145ead3e98e2cebb360ab due to the existence of new docs which were added later on, using the wrong form.
* Handle cmake dependencies which require a specified versionJason Ekstrand2020-11-212-0/+10
| | | | | | Some CMake packages fail to find at all if no version is specified. This commit adds a cmake_version parameter to dependency() to allow you to specify the requested version.
* Merge pull request #7894 from obilaniu/cudaupdatesJussi Pakkanen2020-11-181-14/+7
|\ | | | | Update unstable CUDA Module to support newest toolkits and drivers.
| * Update documentation for CUDA module.Olexa Bilaniuk2020-11-051-14/+7
| |
* | Update Tutorial.md [skip ci]Michael Brockus2020-11-181-12/+38
| |
* | Revert "Add thinlto support. Closes #7493."Jussi Pakkanen2020-11-171-27/+0
| | | | | | | | This reverts commit 3e6fbde94c1cb8d4e01b7daf0282c315ff0e6c7d.
* | doc: add much-needed accuracy to pip installation instructions [skip ci]Eli Schwartz2020-11-171-2/+7
| | | | | | | | | | | | | | | | | | | | - mention installing from local sources, not PyPI - warn against --user installs, which too often screw up users that then cannot install projects because ~/.local won't be in sudo's PYTHONPATH - advise installing with sudo -- current versions of pip assume --user for you rather than failing with permission errors, which is great unless, like meson, there are compelling reasons to need to install as root
* | Add doc on how to add the [provide] entry to wrapdb entries. [skip ci]Jussi Pakkanen2020-11-141-41/+69
| |
* | doc: fix typo [skip ci]Eli Schwartz2020-11-121-1/+1
| |
* | interpreter: Add get_keys function for configuration_data (#7887)Jones2020-11-122-0/+10
| |
* | Add thinlto support. Closes #7493.Jussi Pakkanen2020-11-081-0/+27
|/
* docs: Recommend to use SPDX license identifiers [skip ci]Michael Weiss2020-11-051-7/+8
| | | | | | | | | | | | | | Some license identifiers are ambiguous (e.g. "GPL3"). The SPDX license identifiers avoid this by providing standardized and unique identifiers (e.g. "GPL-3.0-only" or "GPL-3.0-or-later" for the previous example). Because SPDX short-form identifiers are also both human- and machine-readable we should recommend them in the documentation. More information (advantages, details, etc.) can be found here: - https://spdx.dev/resources/use/#identifiers - https://spdx.dev/ids/ Fix #7905.
* rust: implement support for --editionDylan Baker2020-11-051-0/+5
| | | | | | | | | Using the std option, so now `rust_std=..` will work. I've chosen to use "std" even though rust calls these "editions", as meson refers to language versions as "standards", which makes meson feel more uniform, and be less surprising. Fixes: #5100
* docs: Fix broken anchor links [skip ci]Johan Bjäreholt2020-11-051-2/+2
| | | | | | Apparently anchor links are case-sensitive and needs to be lowercase in hotdoc. Prior to this change the anchor links were uppercase so the link did not refer to the anchor tag. Likely that there are more occurrences around the docs than this, have not looked.
* qt module: fix error message typo, translation qresource accepts qm not tsEli Schwartz2020-11-041-1/+2
| | | | Fixes #7925
* Bump minimum supported Python version to 3.6. Closes #6297.Jussi Pakkanen2020-10-301-0/+6
|
* Bump version number for release. This is the 10 000th commit!0.56.0Jussi Pakkanen2020-10-3028-323/+357
|
* Syntax.md: Fix variable used in substring exampleDanilo Spinella2020-10-221-2/+2
|
* fix markdown issuePaolo Bonzini2020-10-191-1/+1
|
* Fix consistency in variables kwargXavier Claessens2020-10-163-2/+15
| | | | | Share common code to extract the `variables` kwarg in declare_dependency() and pkg.generate().
* intro: Add extra_files key to intro output (fixes #7310)Daniel Mensinger2020-10-152-0/+10
|
* Merge pull request #6968 from xclaesse/auto-promoteJussi Pakkanen2020-10-144-22/+21
|\ | | | | Merge wraps from subprojects into wraps from main project
| * Add wrap mode to disable auto promoteXavier Claessens2020-10-133-2/+11
| |
| * Merge wraps from subprojects into wraps from main projectXavier Claessens2020-10-132-21/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | wraps from subprojects are now merged into the list of wraps from main project, so they can be used to download dependencies of dependencies instead of having to promote wraps manually. If multiple projects provides the same wrap file, the first one to be configured wins. This also fix usage of sub-subproject that don't have wrap files. We can now configure B when its source tree is at `subprojects/A/subprojects/B/`. This has the implication that we cannot assume that subproject "foo" is at `self.subproject_dir / 'foo'` any more.
* | vs: add static_from_buildtype to b_vscrtPeter Harris2020-10-141-12/+12
|/
* include_type: Add CMake subporject dependency method (fixes #6879)Daniel Mensinger2020-10-132-1/+9
|
* Merge pull request #7816 from mensinda/cmCrossJussi Pakkanen2020-10-133-0/+102
|\ | | | | cmake: Cross compilation support
| * cmake: Add cross docsDaniel Mensinger2020-10-133-0/+102
| |
* | mtest: Allow filtering tests by subprojectNirbheek Chauhan2020-10-131-0/+18
|/ | | | | | | | | | | | You could always specify a list of tests to run by passing the names as arguments to `meson test`. If there were multiple tests with that name (in the same project or different subprojects), all of them would be run. Now you can: 1. Run all tests with the specified name from a specific subproject: `meson test subprojname:testname` 1. Run all tests defined in a specific subproject: `meson test subprojectname:` Also forbid ':' in test names. We already forbid this elsewhere, so should not be a big deal.
* msubprojects: Handle wrap-file to wrap-git caseXavier Claessens2020-10-132-1/+9
|
* msubprojects: Handle change of URL in wrap-gitXavier Claessens2020-10-132-2/+8
|
* Merge pull request #7740 from bonzini/fallback-falseJussi Pakkanen2020-10-123-19/+57
|\ | | | | Allow blocking/forcing automatic subproject search
| * dependency: support boolean argument "allow_fallback"Paolo Bonzini2020-10-083-8/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes, distros want to configure a project so that it does not use any bundled library. In this case, meson.build might want to do something like this, where slirp is a combo option with values auto/system/internal: slirp = dependency('', required: false) if get_option('slirp') != 'internal' slirp = dependency('slirp', required: get_option('slirp') == 'system') endif if not slirp.found() slirp = subproject('libslirp', ...) .variable('...') endif and we cannot use "fallback" because the "system" value should never look for a subproject. This worked until 0.54.x, but in 0.55.x this breaks because of the automatic subproject search. Note that the desired effect here is backwards compared to the policy of doing an automatic search on "required: true"; we only want to do the search if "required" is false! It would be possible to look for the dependency with `required: false` and issue the error manually, but it's ugly and it may produce an error message that looks "different" from Meson's. Instead, with this change it is possible to achieve this effect in an even simpler way: slirp = dependency('slirp', required: get_option('slirp') != 'auto', allow_fallback: get_option('slirp') == 'system' ? false : ['slirp', 'libslirp_dep']) The patch also adds support for "allow_fallback: true", which is simple and enables automatic fallback to a wrap even for non-required dependencies.
| * docs: improve documentation of subproject fallbackPaolo Bonzini2020-10-081-15/+34
| | | | | | | | | | | | | | | | Automatic fallback to subprojects is complicated and should be pointed out outside the "fallback" keyword argument. It is also surprising that fallback to a subproject will not happen if override_dependency has already been used with the request dependency. Document all this.
* | Update wrap maintenance documentation. [skip ci]Jussi Pakkanen2020-10-102-19/+32
|/
* Add win_subsystem kwarg. Closes #7765.Jussi Pakkanen2020-10-072-2/+31
|
* machinefiles: Allow keys to be stored case insensitiveDylan Baker2020-10-052-0/+9
| | | | | | | | | | | This is required to make the various keys in the [user options] section work the same as they do in the meson_options.txt file, where we don't have any rules about case sensitivity. There is some risk here. Someone may be relying on this lower by default behavior, and this could break their machine files. Fixes #7731
* docs: Fixup find_program search path documentation [skip ci]Nirbheek Chauhan2020-10-021-5/+16
| | | | | It was slightly wrong, and also make it a bullet point for easier parsing.
* deprecated get_configtool_variable and get_pkgconfig_variableDylan Baker2020-10-012-10/+18
| | | | | | The get_variable method is able to do everything they do and more, making it generally more useful. Let's tell people to stop using the old ones.
* Document search order of find_programRasmus Thomsen2020-10-011-1/+4
|
* document keys() method of dictionary object [skip ci]Alexandros Theodotou2020-10-011-0/+2
|
* dependencies/curses: Add a system dependencyDylan Baker2020-09-292-4/+4
| | | | | | That calls find_library and has_header in conjunction to look for curses implementations that are baked into the system without any other find method.
* dependencies/curses: Add support for using the ncurses config toolsDylan Baker2020-09-292-1/+7
| | | | | | These are mostly duplicated with pkg-config, but maybe someone has one but not another, and they're easy to turn on with the ConfigToolDependency.
* docs/Dependencies Add missing curses documentationDylan Baker2020-09-291-0/+10
|