summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2020-05-04docs: Reformat unit-tests to be ~80 characters per lineDylan Baker
2020-05-04Add native support for gtest testsDylan Baker
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.
2020-04-29Merge pull request #6911 from mensinda/ciBionicJussi Pakkanen
ci: Add Ubuntu Bionic image
2020-04-28Meson Cmake Wrapper unmaintained [skip ci]Brendan Simon
The Meson CMake Wrapper project is currently unmaintained.
2020-04-28tests: Add support for specifying tool requirementsDaniel Mensinger
Adds the `tools` section to `tests.json` to specify requirements for the tools in the environment. All tests that fail at least one tool requirements check are skipped.
2020-04-28docs: Fix Contributing.mdDaniel Mensinger
2020-04-28find_program: Fixes when the program has been overridden by executableXavier Claessens
- 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.
2020-04-23mtest: Generate a JUnit xml result fileDylan Baker
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
2020-04-21Merge pull request #6816 from dcbaker/framework-matrixJussi Pakkanen
project test junit schema + a few more uses
2020-04-21docs/cross-compilation: Note appropriate values for cpu_family [skip ci]Dylan Baker
Also note that meson doesn't use `el` on the end of the cpu_family to mark endianness, that the endian field needs to be set appropriately.
2020-04-20add introspect --buildsystem-files info [skip ci]Michael
2020-04-17Add a json schema for the test.json used in testsDylan Baker
This does a couple of nice things, one is that editors like vscode can be configured to use this schema to provide auto completion and error highlighting if invalid values are added or required values are missing. It also allows us test that the format of the test matrix work in a unit test, which I've added. It does require that the python jsonschema package is installed.
2020-04-17docs/users: Update freedesktop users to point at gitlab [skip ci]Dylan Baker
Rather than the legacy cgit
2020-04-17docs: The X Test Suite uses meson [skip ci]Dylan Baker
2020-04-14Corrected prefix path [skip ci]Jonas Møller
Using meson version `0.53.2` prefix defaulted to `/usr/local`, not `/usr/local/` (not the trailing slash)
2020-04-13wrap: Add fallback urlsXavier Claessens
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.
2020-04-13Remove alignment syntax not supported by hotdoc. Closes: #6954. [skip ci]Jussi Pakkanen
2020-04-12Merge pull request #6958 from jon-turney/fix-name-prefix-explicit-defaultJussi Pakkanen
Fix library(name_prefix: [])
2020-04-11docs: fix the docs for install_subdir's strip_directory [skip ci]Peter Hutterer
When set to **true** only the last component is used. And throw in two minor grammatical fixes while we're there.
2020-04-11Refine documentation of default name_prefixJon Turney
Refine documentation of the default name_prefix, so people don't get the impression they can write logic which uses 'lib' as the default, when they should be defaulting to '[]', to let us take care of the complexities.
2020-04-11References-tables.md: repair broken tableVanadiae
At https://mesonbuild.com/Reference-tables.html#compiler-and-linker-selection-variables, the table is broken and it seems that the only difference with other well-working tables on this page is the semi-column ":" that are present under Language.
2020-04-08docs: Update Using-with-Visual StudioNirbheek Chauhan
Very out of date instructions. We install `meson.exe` now and you don't need to have `py` in PATH or use `/path/to/meson.py`.
2020-04-07docs: Mention library command as well [skip ci]Vedran Miletić
2020-04-04docs: add LLVM tool section to dependencies [skip ci]Gerion Entrup
2020-04-01docs: Described library command in Build targets section [skip ci]Vedran Miletić
2020-03-31docs: Fix typo in pkgconfig descriptionMichael Kuhn
2020-03-29dist: Add --no-tests optionXavier Claessens
It is not always needed to test generated tarballs, for example when they are generated by CI that already does its own testing.
2020-03-29Update everything for new release.Jussi Pakkanen
2020-03-28docs: why 'ninja test' depends on build_by_default targets [skip ci]Marc Herbert
Fixes #1949
2020-03-28docs: Add a new page with common cross/native file options [skip ci]Dylan Baker
Rather than having two separate sections with duplicated information lets just have one for the common settings, and only document sections specific to each file in separately
2020-03-24Make werror per subproject optionXavier Claessens
2020-03-23Revert "Naturally use env vars a bit more to match Autoconf"Jussi Pakkanen
This reverts commit 097dfc085e6a1bb3c670880134a52dcfca504be7.
2020-03-23Naturally use env vars a bit more to match AutoconfJohn Ericson
PR #6363 made it so our interpretation of env vars no longer clashed with Autoconf's: if both Meson and Autoconf would read and env var, both would do the same things with the value they read. However, there were still cases that autoconf would read an env var when meson wouldn't: - Autoconf would use `CC` in cross builds too - Autoconf would use `CC_FOR_BUILD` in native builds too. There's no reason Meson can't also do this--if native cross files overwrite rather than replace env vars, cross files can also overwrite rather than replace env vars. Because variables like `CC` are so ubiquitous, and because ignoring them in cross builds just makes those builds liable to break (and things more complicated in general), we bring Meson's behavior in line with Autoconf's.
2020-03-23Fix legacy env var support with crossJohn Ericson
Fix #3969
2020-03-22Add property to disable compiler sanity checks during cross compilation.Jussi Pakkanen
2020-03-21adding Meson-UI to IDE-integration.md [skip ci]Michael Brockus
2020-03-21-Add xc16 and c2000 C,Cpp toolchain supportalanNz
2020-03-19docs: update MPI documentation with methodsDylan Baker
2020-03-19Update cross compilation documentation to reference new ld variablesPhillip Johnston
2020-03-19Update native description to use the new LD variablesPhillip Johnston
With Meson 0.53.1, this is now out of date. Updating to use the proper ld variables.
2020-03-19mtest: terminate a test via SIGTERM first then (if needed) via SIGKILLCamilo Celis Guzman
2020-03-19cmake: Add find_package COMPONETS supportDaniel Mensinger
2020-03-17docs: Add Environment variables for compiler/linker selectionDylan Baker
We really should be documenting these in an easy to find and reference place.
2020-03-17envconfig: Make compiler and linker environment variables matchDylan Baker
2020-03-12docs: Update documentation for GDC linker overridingDylan Baker
2020-03-12docs: Document that ldc now supports linker overriding [skip ci]Dylan Baker
2020-03-12docs: Document from_builtype mapping for b_vscrt [skip ci]Nirbheek Chauhan
2020-03-12Merge pull request #6356 from dcbaker/fix-d-compiler-abstractionsJussi Pakkanen
Fix d compiler abstractions
2020-03-11Add Glorytun in Users.md [skip ci]Adrien Gallouët
2020-03-11coredata: Warn on usage of both -Dbuildtype and -Doptimization/-DdebugNirbheek Chauhan
It may not be obvious to users that these two ways to set build-types override each other and specifying both is redundant, and conflicts are resolved based on whichever is specified later. Closes https://github.com/mesonbuild/meson/issues/6742