summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
Commit message (Collapse)AuthorAgeFilesLines
* Bump minimum supported Python version to 3.6. Closes #6297.pythonbumpJussi Pakkanen2020-09-071-0/+6
|
* introspect: add test dependencies info to test/benchmark JSONPaolo Bonzini2020-09-041-0/+5
| | | | | | | | | | | | 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
|
* 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-251-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | 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 #7447 from scivision/nvcJussi Pakkanen2020-08-221-0/+3
|\ \ | | | | | | Add support for NVidia HPC SDK compilers
| * | docMichael Hirsch, Ph.D2020-07-131-0/+3
| | |
* | | Interpreter: Fix c_stdlib usageXavier Claessens2020-08-181-0/+6
| |/ |/| | | | | | | | | | | - 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.
* | Allow setting built-in options from cross/native filesDylan Baker2020-08-011-1/+16
| | | | | | | | | | | | | | | | | | | | 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.
* | Allow setting project options from cross or native filesDylan Baker2020-07-301-0/+37
| | | | | | | | | | | | 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.
* | coredata: Make warning_level per subproject builtin optionXavier Claessens2020-07-221-0/+4
| |
* | Stabilize keyval moduleMarc-André Lureau2020-07-191-0/+7
|/ | | | | | | | | 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>
* Updated everything for release 0.55.0.0.55.0Jussi Pakkanen2020-07-1225-275/+0
|
* doc: Improve documentation of [provide] section in wrap filesXavier Claessens2020-07-051-1/+1
| | | | | Explicitly document the behaviour of dependency('foo-1.0', required: false).
* find_program: Fallback if a wrap file provide the program nameXavier Claessens2020-07-011-0/+5
| | | | | | 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 'provide' sectionXavier Claessens2020-07-011-0/+7
|
* Implicit dependency fallback when a subproject wrap or dir existsXavier Claessens2020-07-011-0/+9
|
* Merge pull request #7231 from mensinda/cmOverrideJussi Pakkanen2020-07-011-0/+17
|\ | | | | cmake: Add more advanced subproject configuration options
| * cmake: added docsDaniel Mensinger2020-06-051-0/+17
| |
* | wrap: Apply patch even in VCS casesXavier Claessens2020-06-301-0/+5
| |
* | envconfig: Add [constants] section in machine filesXavier Claessens2020-06-291-0/+20
| | | | | | | | | | | | | | Machine files already supports `+` operator as an implementation detail, since it's using eval(). Now make it an officially supported feature and add a way to define constants that are used while evaluating an entry value.
* | Added ability to specify target in `meson compile`TheQwertiest2020-06-291-0/+19
| |
* | Added ability to pass arguments to backend in `meson compile`TheQwertiest2020-06-281-0/+26
| |
* | wrap: Add patch_directory supportXavier Claessens2020-06-211-0/+8
| | | | | | | | | | | | Copy a tree instead of extracting an archive. Closes: #7216
* | coverage: llvm-cov supportCary Converse2020-06-171-0/+4
| |
* | interpreter: add support for --force-fallback-forMathieu Duponchelle2020-06-161-0/+10
| | | | | | | | | | | | | | | | | | This new command line option allows specifying dependencies for which to force fallback. See the documentation for more information Fixes: #7218
* | gnome: Add fatal_warnings kwarg to generate_gir()Xavier Claessens2020-06-161-0/+5
| | | | | | | | Fixes: #7130
* | docs: add snippet about response file changeDan Kegel2020-06-051-0/+7
|/
* Merge pull request #6818 from mensinda/localPatchJussi Pakkanen2020-05-271-0/+6
|\ | | | | Wrap: add local files support via *_filename
| * wrap: Updated docsDaniel Mensinger2020-04-251-0/+6
| |
* | opts: added docsDaniel Mensinger2020-05-261-0/+14
| |
* | ast: Add docs for --astDaniel Mensinger2020-05-231-0/+4
| |
* | compilers/d: Add b_ndebug supportDylan Baker2020-05-201-0/+4
| | | | | | | | | | | | | | | | D lang compilers have an option -release (or similar) which turns off asserts, contracts, and other runtime type checking. This patch wires that up to the b_ndebug flag. Fixes #7082
* | pass exe_wrapper to test scripts through the environmentDylan Baker2020-05-181-0/+9
| | | | | | | | | | | | | | This adds a new MESON_EXE_WRAPPER environment variable containing the string form of the exe_wrapper, if there is an exe_wrapper defined. Fixes #4427
* | Merge pull request #7103 from dankegel/bug4027-rpath-rememberJussi Pakkanen2020-05-181-0/+7
|\ \ | | | | | | Let .pc files and LDFLAGS provide rpaths.
| * | docs: add snippet documenting rpath behavior changeDan Kegel2020-05-161-0/+7
| | |
* | | interpreter: Rename has_exe_wrapper -> can_run_host_binariesDylan Baker2020-05-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation of this function has changed enough that the name doesn't really reflect what it actually does. It basically returns true unless you're cross compiling, need and exe_wrapper, and don't have one. The original function remains but is marked as deprecated. This makes one small change the meson source language, which is that it defines that can_run_host_binaries will return true in build == host compilation, which was the behavior that already existed. Previously this was undefined in build == host compilation.
* | | ConfigToolDependency: Don't fallback to system tool when cross compilingXavier Claessens2020-05-111-0/+7
|/ / | | | | | | | | | | | | | | | | The system tool is always the wrong thing to use and cause hard to debug issues when trying to link system libraries with cross built binaries. The ExternalDependency base class already had a method to deal with this, used by PkgConfigDependency and QtBaseDependency, so it should make things more consistent.
* | rename unstable-kconfig to unstable-keyvalPaolo Bonzini2020-05-081-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Discussions in #6524 have shown that there are various possible uses of the kconfig module and even disagreements in the exact file format between Python-based kconfiglib and the tools in Linux. Instead of trying to reconcile them, just rename the module to something less suggestive and leave any policy to meson.build files. In the future it may be possible to add some kind of parsing through keyword arguments such as bool_true, quoted_strings, etc. and possibly creation of key-value lists too. For now, configuration_data objects provide an easy way to access quoted strings. Note that Kconfig stores false as "absent" so it was already necessary to write "x.has_key('abc')" rather than the more compact "x['abc']". Therefore, having to use configuration_data does not make things much more verbose.
* | Merge pull request #7064 from dcbaker/gtest-protocolJussi Pakkanen2020-05-061-0/+6
|\ \ | | | | | | Add support for Gtest as a test protocol
| * | Add native support for gtest testsDylan Baker2020-05-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Gtest can output junit results with a command line switch. We can parse this to get more detailed results than the returncode, and put those in our own Junit output. We basically just throw away the top level 'testsuites' object, then fixup the names of the tests, and shove that into our junit.
* | | Merge pull request #7060 from dcbaker/install-script-targetsJussi Pakkanen2020-05-031-0/+24
|\ \ \ | | | | | | | | Allow meson.add_*_script to take additional types
| * | | docs: Update documentation for add_*_scriptDylan Baker2020-04-301-0/+24
| |/ /
* | | Docs: Update link_language docs to explain when it should be usedDylan Baker2020-04-301-0/+8
|/ /
* | find_program: Fixes when the program has been overridden by executableXavier Claessens2020-04-281-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - ExternalProgramHolder has path() method while CustomTargetHolder and BuildTargetHolder have full_path(). - The returned ExternalProgramHolder's path() method was broken, because build.Executable object has no get_path() method, it needs the backend. - find_program('overridden_prog', version : '>=1.0') was broken because it needs to execute the exe that is not yet built. Now assume the program has the (sub)project version. - If the version check fails, interpreter uses ExternalProgramHolder.get_name() for the error message but build.Executable does not implement get_name() method.
* | mtest: Generate a JUnit xml result fileDylan Baker2020-04-231-0/+4
|/ | | | | | | | | JUnit is pretty ubiquitous, lots of services and results viewers understand it, in particular gitlab and jenkins know how to consume JUnit xml. This means projects using CI services can have their test results consumed automatically. Fixes: #6972
* wrap: Add fallback urlsXavier Claessens2020-04-131-0/+4
| | | | | | It can happen that a server is temporaly down, tarballs often have many mirrors available so we should be able to add at least one fallback mirror in wrap files.
* dist: Add --no-tests optionXavier Claessens2020-03-291-0/+5
| | | | | It is not always needed to test generated tarballs, for example when they are generated by CI that already does its own testing.
* Update everything for new release.0.54.0Jussi Pakkanen2020-03-2929-325/+0
|