summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Bump minimum supported Python version to 3.6. Closes #6297.pythonbumpJussi Pakkanen2020-09-071-0/+6
|
* doc: Add missing method arguments [skip ci]Michal Sojka2020-09-061-21/+21
| | | | | Documentation of most methods mentions method arguments enclosed in parentheses. Two methods are an exception and we fix them here to make the manual more consistent.
* docs: Fix typo in Reference-manual.md [skip ci]Krzysztof MaƂysa2020-09-051-1/+1
|
* introspect: add test dependencies info to test/benchmark JSONPaolo Bonzini2020-09-042-0/+11
| | | | | | | | | | | | Add the ids of any target that needs to be rebuilt before running the tests as computed by the backend, to the introspection data for tests and benchmarks. This also includes anything that appears on the test's command line. Without this information, IDEs must update the entire build before running any test. They can now instead selectively build the test executable itself and anything that is needed to run it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* docs: Add a snippet for python 3.5 deprecation [skip ci]Nirbheek Chauhan2020-09-021-0/+15
|
* Add Entangle application to list of apps using MesonDaniel Berrangé2020-09-021-0/+1
| | | Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* Add some forgotten values for "cpp_std" [skip ci]Michael Brockus2020-09-021-1/+1
|
* Clarify the use of -Doption and alternatives [skip ci]Sebastian Engel2020-08-301-4/+8
| | | | | | | | | | | | | The -Doption=value style argument works for all builtin options, and compiler options passed to meson. And some universal options, have additional ways to be passed. However, base options (and compiler options) do not have exactly the same ways of passing as universal options. This change adds a few pieces of information, which might get lost, if the manual is not read serially. [skip ci]
* test: Add 'dir' support for installed files in test.jsonDaniel Mensinger2020-08-271-0/+1
| | | | | | This is useful for automatically generated docs (doxygen, hotdoc) with a lot of generated files that may differ with different versions of the generator.
* Merge pull request #7581 from peterh/aixJussi Pakkanen2020-08-251-0/+8
|\ | | | | Add AIX support
| * docs: add AIX preliminary support snippetPeter Harris2020-08-171-0/+8
| |
* | qt module: add qresource support to compile_translationsEli Schwartz2020-08-252-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | A common pattern in Qt5 applications is to embed translations in the executable using the qresource system. In this case, the list of translation files is already available in the .qrc file and there's no good reason to duplicate this info in meson.build. Let compile_translations optionally take a qrc input, in which case it will go straight to generating the relevant translations and rcc-generated .cpp, and directly return the thing users actually care about -- the .cpp for linking.
* | Merge pull request #7600 from alexrp/masterJussi Pakkanen2020-08-232-2/+2
|\ \ | | | | | | Add C2x option support.
| * | Add C2x option support.Alex RĂžnne Petersen2020-08-222-2/+2
| | |
* | | Merge pull request #7447 from scivision/nvcJussi Pakkanen2020-08-222-0/+4
|\ \ \ | | | | | | | | Add support for NVidia HPC SDK compilers
| * | | docMichael Hirsch, Ph.D2020-07-132-0/+4
| | | |
* | | | added VS Code/Codium extention [skip ci]noasakurajin2020-08-221-0/+1
| | | |
* | | | Virtualization 💖 Meson [skip ci]Paolo Bonzini2020-08-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There are a couple new users of Meson that might be worth mentioning. 502 commits later, Libvirt and QEMU have both switched! Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* | | | Interpreter: Fix c_stdlib usageXavier Claessens2020-08-182-1/+19
| |/ / |/| | | | | | | | | | | | | | | | | - Exceptions raised during subproject setup were ignored. - Allow c_stdlib in native file, was already half supported. - Eliminate usage of subproject variable name by overriding '<lang>_stdlib' dependency name.
* | | add owl chess in Users.md [skip ci]Michael Brockus2020-08-151-0/+1
| | |
* | | Add paper rock scissors to Users.md [skip ci]Michael Brockus2020-08-151-0/+1
| | |
* | | Add that prefix keyword works for cc.get_defineJohn Scott2020-08-151-1/+1
| | |
* | | docs: Clarify some FAQs in the Tutorial [skip ci]Nirbheek Chauhan2020-08-141-1/+13
| |/ |/| | | | | | | | | Clarifications that were observed to be needed when seeing a user try the Tutorial for the first time at: https://www.twitch.tv/videos/709237047?t=50m20s
* | Written a new paragraph for var naming recommendation (#7531)Michael Brockus2020-08-081-3/+6
| |
* | Document VS backend from_buildtype behaviour change in release notesNirbheek Chauhan2020-08-051-0/+8
| | | | | | | | Closes https://github.com/mesonbuild/meson/issues/7438
* | Merge pull request #6597 from dcbaker/full-project-configDylan Baker2020-08-022-13/+160
|\ \ | | | | | | Set project and meson options in cross/native files
| * | update version from 0.55. to 0.56Dylan Baker2020-08-011-4/+4
| | |
| * | machine-files: deprecate the paths sectionDylan Baker2020-08-011-1/+3
| | |
| * | docs/machine-files: Add a section on data typesDylan Baker2020-08-011-8/+40
| | | | | | | | | | | | | | | | | | This attempts to clarify the usage of strings and arrays, as well as document the boolean type that has been exposed via the project and built-in options
| * | Allow setting built-in options from cross/native filesDylan Baker2020-08-012-5/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is like the project options, but for meson builtin options. The only real differences here have to do with the differences between meson builtin options and project options. Some meson options can be set on a per-machine basis (build.pkg_config_path vs pkg_config_path) others can be set on a per-subproject basis, but should inherit the parent setting.
| * | docs/Machine-files: remove duplicate Properties sectionDylan Baker2020-07-301-7/+0
| | |
| * | Allow setting project options from cross or native filesDylan Baker2020-07-302-0/+57
| | | | | | | | | | | | | | | | | | This allows adding a `[project options]` section to a cross or native file that contains the options defined for a project in it's meson_option.txt file.
* | | docs/users: Add HarfBuzz [skip ci]Ebrahim Byagowi2020-08-021-0/+1
| | | | | | | | | Proudly a meson user now
* | | Doc: Added clarification on introspection files gen order [skip ci]Alexis Jeandet2020-07-311-1/+2
|/ / | | | | | | Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
* | Describe syntax of `meson configure [skip ci]Matthew D. Scholefield2020-07-281-1/+1
| | | | | | This makes it a lot easier for people to quickly figure out how to customize parameter.
* | coredata: Make warning_level per subproject builtin optionXavier Claessens2020-07-222-21/+44
| |
* | Add boost_root support to properties files (#7210)cmcneish2020-07-211-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add boost_root support to properties files This commit implements `boost_root`, `boost_includedir`, and `boost_librarydir` variable support to native and cross properties files. The search order is currently environment variables, then these variables, and finally a platform-dependent search. * Add preliminary boost_root / boost_includedir tests Each test contains a fake "version.hpp", as that's how boost detection is currently being done. We look for this file relative to the root directory, which probably shouldn't be allowed (it previously was for BOOST_LIBRARYDIR but not for BOOST_ROOT). It also cannot help with breakage detection in libraries, however it looks like this wasn't getting tested beforehand. I've given the two unique version numbers that shouldn't be present in any stock version of boost (001 and 002). * Add return type to detect_split_root * Return empty list when nothing found in BOOST_ROOT, rather than None * Update boost_root tests * Create nativefile.ini based on location of run_project_tests.py * Add fake libraries to ensure boost_librarydir is being used * Require all search paths for boost to be absolute * Redo boost search ordering To better match things like pkg-config, we now look through native/cross files, then environment variables, then system locations for boost installations. Path detection does not fall back from one method to the next for properties or environment variables--if boost_root, boost_librarydir, or boost_includedir is specified, they must be sufficient to find boost. Likewise for BOOST_ROOT and friends. pkg-config detection is still optional falling back to system-wide detection, for Conan. (Also, fix a typo in test 33's nativefile) * Correct return type for detect_roots * Correct boost dependency search order in documentation * Print debug information for boost library finding, to resolve CI issues * Handle native/cross file templates in a more consistent way All tests can now create a `nativefile.ini.in` if they need to use some parameter that the testing framework knows about but they can't. * Pass str--rather than PosixPath--to os.path.exists, for Python35 * Look for boost minor versions, rather than boost patch versions in test cases * Drop fake dylib versions of boost_regex * Prefer get_env_var to use of os.environ * Correct error reporting for relative BOOST_ROOT paths * Bump version this appears in. Also, change "properties file" to "machine file" as that appears to be the more common language.
* | string: add substring methodStéphane Cerveau2020-07-202-0/+23
| | | | | | | | | | This method aims to offer a simple way to 'substring' an existing string with start and end values.
* | Fix dirs typo in Vala docs [skip ci]wb96882020-07-191-1/+1
| | | | | | Co-authored-by: wb9688 <wb9688@users.noreply.github.com>
* | Stabilize keyval moduleMarc-André Lureau2020-07-192-2/+9
| | | | | | | | | | | | | | | | | | We have experimented with the module for about a year in a qemu branch (https://wiki.qemu.org/Features/Meson), and we would like to start moving the build system to meson. For that, keyval should have the stability guarantees. Cc: Paolo Bonzini <pbonzini@redhat.com>
* | Replace `dynamic linker` with `linker` [skip ci]Nathan Lanza2020-07-141-1/+1
| | | | | | | | This header erroneously referred to the dynamic linker while the paragraph talks about the "link editor." Change the title to account for the difference.
* | doc: Add warning about --force-fallback-for [skip ci]Xavier Claessens2020-07-141-0/+22
|/
* Updated everything for release 0.55.0.0.55.0Jussi Pakkanen2020-07-1227-275/+308
|
* doc: Small tweaks to fallback documentation [skip ci]Xavier Claessens2020-07-092-2/+6
|
* doc: Improve documentation of [provide] section in wrap filesXavier Claessens2020-07-052-20/+49
| | | | | Explicitly document the behaviour of dependency('foo-1.0', required: false).
* doc: Minor typo fix in legal.md [skip ci]Thibault Saunier2020-07-041-1/+1
|
* wrap: Update doc to give dependency_names example firstXavier Claessens2020-07-011-8/+8
|
* Fix typo: coma->commaXavier Claessens2020-07-011-1/+1
|
* find_program: Fallback if a wrap file provide the program nameXavier Claessens2020-07-012-0/+18
| | | | | | We don't need the legacy variable name system as for dependency() fallbacks because meson.override_find_program() is largely used already, so we can just rely on it.
* wrap: Add special 'dependency_names' key in [provide] sectionXavier Claessens2020-07-011-4/+18
| | | | | | The value for that key must be a coma separated list of dependecy names provided by that subproject, when no variable name is needed because the subproject uses override_dependency().