aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2020-03-09Document the requirement to run tests before coverage [skip ci]Vedran Miletić2-1/+16
Co-authored-by: Vedran Miletić <vedran@miletic.net>
2020-03-09Add OpenTitan to the list of users. [skip ci]Jussi Pakkanen1-0/+1
2020-03-09pkgconfig: Document conflicts keywordFini Jastrow1-0/+1
[why] Sometimes one want to set the 'Conflicts:' field in .pc files. This is possible by using the 'conflicts' keyword argument in the pkgconfig module. The feature is not documented on mesonbuild.org, though. But a warning is issued: WARNING: Passed invalid keyword argument "conflicts". WARNING: This will become a hard error in the future. History: It has been added along with kwarg 'url' with commit 309041918 pkgconfig: Add missing 'URL' and 'Conflicts' entries Later the kwargs check has been introduced with 80d665e8d Converted some modules. but both 'url' and 'conflicts' were missing. With commit 2acf737b pkgconfig: Document url keyword the 'url' kwarg has been added to the checks, but not 'conflicts'. [how] Add 'conflicts' to the allowed kwargs. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2020-03-09Merge pull request #6532 from jon-turney/languages-native-kwargJussi Pakkanen2-9/+39
Add add_languages(native:)
2020-03-08Merge pull request #6688 from dcbaker/emcc-linker-bugsJussi Pakkanen4-15/+33
Emcc linker bugs and improvments
2020-03-08qt5: Add has_tools() methodXavier Claessens2-0/+32
2020-03-07Merge pull request #6203 from xclaesse/override-dependencyJussi Pakkanen2-1/+79
Add meson.override_dependency()
2020-03-06Improve logged messages for overriden dependenciesXavier Claessens1-1/+4
2020-03-06Simplify dependency() fallbackXavier Claessens2-0/+10
Now that subprojects can override the dependency name, there is no need to provide a variable name for the fallback any more.
2020-03-06Add meson.override_dependency()Xavier Claessens2-1/+66
Similar to meson.override_find_program() but overrides the result of the dependency() function. Also ensure that dependency() always returns the same result when looking for the same dependency, this fixes cases where parts of the project could be using a system library and other parts use the library provided by a subproject.
2020-03-06Update Users.mdAmit D1-0/+10
2020-03-05Document the details of optimization+debug vs buildtype [skip ci]Nirbheek Chauhan1-0/+17
Otherwise you have to hunt through the source code. Specifically, this is defined in `mesonbuild/coredata.py`: `set_buildtype_from_others()` and `set_others_from_buildtype()`
2020-03-04mesonbuild: Add mcompile commandDylan Baker1-0/+21
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes #6670
2020-03-04interpreter: add 'name' method to BuildTargetHolderStéphane Cerveau2-0/+4
As any child of BuildTargetHolder might need the name of the object, provides a method to get object name. This is useful in gst-build to display the plugin name and not the filename.
2020-03-02add -C to meson initMichael1-0/+5
2020-03-02Users.md: add libratbagStephan Lachnit1-0/+1
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-03-01Merge pull request #6692 from xclaesse/summary-warningsJussi Pakkanen2-1/+10
Summary improvements
2020-03-01Merge pull request #6627 from jon-turney/cwd-relative-file-locationsJussi Pakkanen1-0/+9
Consistently report file locations relative to cwd
2020-02-29Merge pull request #6666 from mensinda/testRefactorJussi Pakkanen1-12/+120
Refactor run_projectests.py
2020-02-28Add release note snippetJon Turney1-0/+9
2020-02-27compilers/linkers: Add a representation for wasm-ldDylan Baker2-1/+7
Emscripten does have a stand alone linker, wasm-ld. This patch adds the linker, adds detection for the linker, and removes the IsLinkerMixin for emscripten. This is a little more correct, and makes the code a lot cleaner and more robust.
2020-02-27compilers/mixins/emscripten: Implement thread supportDylan Baker2-14/+26
Emscripten has pthread support (as well as C++ threads), but we don't currently implement them. This fixes that by adding the necessary code. The one thing I'm not sure about is setting the pool size. The docs suggest that you really want to do this to ensure that your code works correctly, but the number should really be configurable, not sure how to set that. Fixes #6684
2020-02-27doc: fix link warningsMathieu Duponchelle3-4/+4
2020-02-26test: Updated docsDaniel Mensinger1-12/+120
2020-02-26summary: Add more info in Subprojects sectionXavier Claessens1-0/+3
This adds a warnings counter for subprojects that passed. This is to encourage developpers to check warnings in the logs and hopefully fix them. Otherwise they could be hidden in hundreds lines of logs. This also print the error message for subprojects that did not pass. The error message is often enough to fix the issue (e.g. missing dependency) and it's easier than searching in the logs why a subproject failed.
2020-02-26summary: Add list_sep keyword argumentXavier Claessens2-1/+7
This allows having lists on a single line instead of having each value aligned on a new line.
2020-02-25Typo fix. [skip ci]Jussi Pakkanen2-2/+2
2020-02-25Document the project policy on mixing build systems. [skip ci]Jussi Pakkanen4-0/+62
2020-02-23Merge pull request #6637 from ↵Jussi Pakkanen1-0/+10
mesonbuild/nirbheek/implement-symbolextractor-windows Implement symbolextractor on windows + some cleanups/fixes
2020-02-23Update Custom-build-targets.mdadamjalkemo1-2/+2
Use the declared variables infile and outfile
2020-02-22ninjabackend: List PDBs in output list for targetsNirbheek Chauhan1-0/+10
This is more correct, and forces the target(s) to be rebuilt if the PDB files are missing. Increases the minimum required Ninja to 1.7, which is available in Ubuntu 16.04 under backports. We can't do the same for import libraries, because it is impossible for us to know at configure time whether or not an import library will be generated for a given DLL.
2020-02-21linkers: Update the linker names to be more consistentDylan Baker1-14/+15
This makes two basic changes, 1 it moves the name of the linker into the linker class, this should reduce the number of errors and typos, and ensure that a linker always has one name. This then renames the linkers to have more consistent names. Posix/gnu linkers are called ld.<name>: ld.gold, ld.lld, ld.solaris. Apple linkers are renamed ld64.
2020-02-21docs: Fix reference table for linker namesDylan Baker1-10/+20
These are pretty much all over the place because I never intended them to be exposed to the meson source language, they were meant just for documentation.
2020-02-20Introduce dataonly for the pkgconfig moduleRohan Garg2-0/+17
This allows users to disable writing out the inbuilt variables to the pkg-config file as they might actualy not be required. One reason to have this is for architecture-independent pkg-config files in projects which also have architecture-dependent outputs. For example : https://gitlab.freedesktop.org/wayland/weston/issues/269 Fixes #4011
2020-02-19docs: Fix Dub section being inside CMake section [skip ci]Niklas Hambüchen1-1/+1
It should be a `##` heading, not a `###` heading. Also make heading label consistent with the others.
2020-02-19modules/cmake: Add a found() method to the cmake subprojectDylan Baker1-0/+2
Just like the native meson subproject has.
2020-02-19docs: Improve visibility for `.enabled()` etc., add example [skip ci]Niklas Hambüchen2-5/+32
2020-02-18docs: Mention `cuda` as supported language [skip ci]Niklas Hambüchen1-1/+1
2020-02-18docs: Fix typo 'serie' -> 'series'Niklas Hambüchen1-1/+1
2020-02-17minstall: Add a new option --quietNirbheek Chauhan2-2/+16
This is a significant speed-up on Windows because terminals are slow to print things out. Speed-up in gst-build on Windows: ``` meson install: before: 5.1 seconds after: 4.0 seconds ```
2020-02-17modules/python: Do not error out if positional args are passedNirbheek Chauhan1-2/+3
Also update the documentation. Fixes https://github.com/mesonbuild/meson/issues/6470
2020-02-17Merge pull request #6621 from jon-turney/project_tests_cleanupJussi Pakkanen1-8/+29
Various cleanups and documentation improvements for run_project_tests.py
2020-02-14docs: Update documentation about linker selectionNirbheek Chauhan2-5/+23
We missed this in https://github.com/mesonbuild/meson/pull/6457
2020-02-13Document some more details of how project tests workJon Turney1-8/+29
2020-02-12Add unity block size option.Jussi Pakkanen2-0/+13
2020-02-12cmake: Add support for the new JSON trace formatDaniel Mensinger1-0/+5
2020-02-12Refine behaviour of add_languages() when native: is missingJon Turney2-5/+24
This improves the common case of a simple meson.build which doesn't contain any 'native: true' targets to not require a native compiler when cross-compiling, without needing any changes in the meson.build. v2: Do it the right way around!
2020-02-09Add add_languages(native:)Jon Turney2-9/+20
v2: Retain not using logical-and, to avoid short-circuiting side-effects of add_languages()
2020-02-07Merge pull request #6421 from dcbaker/zlib-system-depJussi Pakkanen2-0/+19
Add a "system" dependency for zlib
2020-02-06Make 'default_library' per-subproject builtin optionXavier Claessens2-1/+17
Currently it's just like if all builtin/base/compiler options are yielding. This patch makes possible to have non-yielding builtin options. The value in is overriden in this order: - Value from parent project - Value from subproject's default_options if set - Value from subproject() default_options if set - Value from command line if set