aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2021-07-05Merge pull request #8957 from jon-turney/dependency-doc-improveJussi Pakkanen1-110/+110
Improvements to dependency doc
2021-07-04Users: Update URL for pacmanJon Turney1-1/+1
git.archlinux.org has been decomissioned [1] [1] https://lists.archlinux.org/pipermail/arch-dev-public/2021-June/030466.html
2021-07-04Consistently capitialize 'Meson' in Dependencies.mdJon Turney1-4/+4
Consistently capitialize 'Meson' where used as a proper name in Dependencies.md.
2021-07-03Improve text for dependency detection methodsJon Turney1-4/+5
Make it clear that search order for 'auto' there only applies to generic dependency names. Drop 'system' from that list, as it's not actually used for generic dependencies (nor is it defined what it would do).
2021-07-03Fix image link names.Jussi Pakkanen2-4/+4
2021-06-30interpreter: add required and disabled to importDylan Baker2-5/+20
This is useful both from the perspective of optional functionality that requires a module, and also as I continue to progress with Meson++, which will probably not implement all of the modules that Meson itself does.
2021-06-30Alphabetize dependency names with special lookupJon Turney1-61/+60
2021-06-30Move 'builtin', 'config-tool' and 'system' methods to discussion of methodsJon Turney1-45/+45
2021-06-29Merge pull request #8882 from xclaesse/msubprojects-parallelJussi Pakkanen2-1/+10
msubprojects: Run action on all subprojects in parallel
2021-06-29Add feed arg to custom_target()Simon Ser2-0/+8
2021-06-29Merge pull request #8918 from mensinda/pathlibFixesJussi Pakkanen1-4/+4
pathlib: Patch pathlib to work around some bugs (fixes #8263 #7295)
2021-06-29Users.md:add rmwandy59951-0/+1
2021-06-29fix: Always explicitly set encoding for text files (fixes #8263)Daniel Mensinger1-4/+4
2021-06-25msubprojects: Run action on all subprojects in parallelXavier Claessens2-1/+10
This moves all the code into a class and call its run() method in a thread. The class queues all logs to print them at the end to avoid mixing output of multiple actions.
2021-06-23gnome: add update_desktop_database to post_install()Xavier Claessens2-0/+10
2021-06-23gnome: Set GSETTINGS_SCHEMA_DIR in devenvXavier Claessens2-0/+9
2021-06-22Add Visual Studio 2012/2013 backends (#8803)fanc9993-3/+18
* backends: Add a Visual Studio 2013 backend This is more-or-less a quick port from the VS2015 backend, except that we update the Visual Studio version strings and toolset versions accordingly. Also correct the generator string for Visual Studio 2015 in mesonbuild/cmake/common.py. * backend: Add VS2012 backend Similar to what we did for Visual Studio 2013, add a Visual Studio 2012 backend. * vs2010backend.py: Implement `link_whole:` if needed We actually need Visual Studio 2015 Update 2 to use `/WHOLEARCHIVE:`, which is what we are currently using for `link_whole:` on Visual Studio. For Visual Studio versions before that, we need to expand from the static targets that were indicated by `link_whole:`, and any of the sub-dependent targets that were pulled in via the dependent target's `link_whole:`. This wil ensure `link_whole:` would actually work in such cases. * vs2010backend.py: Handle objects from generated sources Unforunately, we can't use backends.determine_ext_objs() reliably, as the Visual Studio backends handle this differently. * vs2010backend.py: Fix generating VS2010 projects Visual Studio 2010 (at least the Express Edition) does not set the envvar %VisualStudioVersion% in its command prompt, so fix generating VS2010 projects by taking account into this, so that we can determine the location of vcvarsall.bat correctly. * whole archive test: Disable on vs2012/2013 backends too The Visual Studio 2012/2013 IDE has problems handling the items that would be generated from this test case, so skip this test when using --backend=vs[2012|2013]. This test does work for the Ninja backend when VS2012 or VS2013 is used, though. Consolidate this error message with XCode along with the vs2010 backend. * docs: Add the new vs2012 and vs2013 backends Let people know that we have backends for vs2012 and 2013. Also let people know that generating Visual Studio 2010 projects have been fixed and the pre-vs2015 backends now handle the `link_whole:` project option.
2021-06-22Merge pull request #8900 from bonzini/extract-objects-docsJussi Pakkanen1-1/+3
extract_objects: fixes, tests and documentation for using the result in a custom_target
2021-06-22Merge pull request #8898 from e820/interpreter-required-argumentsDylan Baker1-0/+6
interpreter: Add checked kwarg to compiler.get_supported_arguments
2021-06-22extract_objects: test and document using the result in a custom_targetPaolo Bonzini1-1/+3
QEMU would like to use the result of extract_objects in a custom_target; examples are using objcopy, or using the object files as the key to look up command line arguments in compile_commands.json. This is slightly peculiar and not covered by the test suite, but it works; in order to avoid regressions, add a test case and document it.
2021-06-21fix: Ensure that build targets have all methods from ExternalProgramDaniel Mensinger2-0/+27
As a side-effect from #8885 `find_program()` returns now `Executable` objects when `meson.override_find_program` is called with an executable target. To resolve this conflict the missing methods from `ExternalProgram` are added to `BuildTarget`.
2021-06-21interpreter: Move argument checks from add_*_arguments to ↵Laurin-Luis Lehning2-8/+6
compiler.get_supported_arguments
2021-06-21docs: Fix snippet heading for required project argumentsLaurin-Luis Lehning1-1/+1
2021-06-21interprter: Add required kwarg to add_(project|global)_argumentsLaurin-Luis Lehning1-0/+8
To avoid manual compiler support checks add_project_arguments and add_global_arguments receive a new keyword argument to perform them automatically.
2021-06-19Update Quick-guide.mdOrta Therox1-1/+1
2021-06-18modules/qt: allow string values for include_directoriesDylan Baker1-11/+11
This should have been supported before, but wasn't.
2021-06-18dependency: Empty fallback is the same as allow_fallback: falseXavier Claessens1-0/+2
2021-06-17Revert "Add Chicken-Libraries to Users.md (#8180)"Eli Schwartz1-1/+0
This reverts commit 72365e6856e688054938f6055af66f0ac83d261e. This is a vanity project that no longer exists. See discussion at #8890, which still requires further thought but we can at least start off by removing something clearly invalid.
2021-06-17intl custom dependencyEli Schwartz2-1/+55
Checking how to aquire the *gettext family of symbols portably is annoyingly complex, and may come from the libc, or standalone. builtin dependency: This detects if libintl is unneeded, because the *gettext family of symbols is available in the libc. system dependency: This detects if libintl is installed as separate software, linkable via -lintl; unfortunately, GNU gettext does not ship pkg-config files for it. Fixes #3929
2021-06-17doc: Add missing modules to dropdown listXavier Claessens1-2/+4
2021-06-16Merge pull request #8822 from dcbaker/submit/annotate-and-check-qt-moduleJussi Pakkanen7-90/+211
Rewrite the Qt module for type safety!
2021-06-15Users.md: add canfigger libraryandy59951-1/+2
2021-06-15docs: Add a page for qt6Dylan Baker2-0/+9
Which has been missing since the module was added in 0.57.0. This also uses the include syntax
2021-06-15docs: Use an include for the qt modulesDylan Baker3-161/+164
Insteadf of qt4 referencing the Qt5 page, include the same content in both.
2021-06-15docs: update qt module documentation with types and new filesDylan Baker3-20/+96
2021-06-15modules/qt: Deprecated the preprocess sources keyword argumentDylan Baker1-2/+6
2021-06-15docs/qt: document all of the arguments of the preprocess functionDylan Baker1-2/+15
2021-06-15modules/qt: Deprecated the *sources variadic argument to preproccessDylan Baker1-0/+16
It's confusing, and it's a duplicate of the `sources` keyword argument, which has always existed.
2021-06-15Update macOS installation instructions.Jussi Pakkanen9-32/+16
2021-06-14doc: fix typo preventing correct page generationEli Schwartz1-1/+1
This originally worked but was erroneously reported as wrong and thereby regressed in commit a7357887c79debc73bb0158ce70b22263fcf7a76
2021-06-10markdown/Dependencies:remove tabsandy59951-11/+11
Remove tabs introduced by https://github.com/mesonbuild/meson/pull/8866
2021-06-11add example for defining curses preprocessor symbolsAndy Alt1-0/+23
2021-06-09doc: Add direct link to matrix channel (#8859) [skip ci]Xavier Claessens1-1/+2
2021-06-08docs: fix issues with the cython docsDylan Baker2-5/+5
2021-06-08document the enhancement to the Fs module permitting File argumentsEli Schwartz2-3/+14
Add a release notes snippet too!
2021-06-08doc: Fix link to Commands.mdXavier Claessens1-1/+1
2021-06-08Merge pull request #8512 from bonzini/feature-methodsJussi Pakkanen1-0/+25
Utility methods for feature objects
2021-06-08interpreter: add feature.disable_auto_if()Paolo Bonzini1-0/+9
Add a method to downgrade an option to disabled if it is not used. This is useful to avoid unnecessary search for dependencies; for example dep = dependency('dep', required: get_option('feature').disable_auto_if(not foo)) can be used instead of the more verbose and complex if get_option('feature').auto() and not foo then dep = dependency('', required: false) else dep = dependency('dep', required: get_option('feature')) endif or to avoid unnecessary dependency searches: dep1 = dependency('dep1', required: get_option('foo')) # dep2 is only used together with dep1 dep2 = dependency('dep2', required: get_option('foo').disable_auto_if(not dep1.found())) ``` Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-06-08interpreter: add feature.require()Paolo Bonzini1-0/+15
Add a method to perform a logical AND on a feature object. The method also takes care of raising an error if 'enabled' is ANDed with false. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-06-07docs: Add cython docsDylan Baker4-10/+65