aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2020-03-29dist: Add --no-tests optionXavier Claessens1-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.
2020-03-29Update everything for new release.0.54.0Jussi Pakkanen31-325/+362
2020-03-28docs: why 'ninja test' depends on build_by_default targets [skip ci]Marc Herbert1-2/+6
Fixes #1949
2020-03-28docs: Add a new page with common cross/native file options [skip ci]Dylan Baker4-99/+141
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 Claessens1-4/+5
2020-03-23Revert "Naturally use env vars a bit more to match Autoconf"Jussi Pakkanen2-13/+12
This reverts commit 097dfc085e6a1bb3c670880134a52dcfca504be7.
2020-03-23Naturally use env vars a bit more to match AutoconfJohn Ericson2-12/+13
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 Ericson2-13/+21
Fix #3969
2020-03-22Add property to disable compiler sanity checks during cross compilation.Jussi Pakkanen1-0/+9
2020-03-21adding Meson-UI to IDE-integration.md [skip ci]Michael Brockus1-0/+1
2020-03-21-Add xc16 and c2000 C,Cpp toolchain supportalanNz2-2/+16
2020-03-19docs: update MPI documentation with methodsDylan Baker1-1/+7
2020-03-19Update cross compilation documentation to reference new ld variablesPhillip Johnston1-1/+2
2020-03-19Update native description to use the new LD variablesPhillip Johnston1-1/+3
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 Guzman1-0/+6
2020-03-19cmake: Add find_package COMPONETS supportDaniel Mensinger3-1/+10
2020-03-17docs: Add Environment variables for compiler/linker selectionDylan Baker1-0/+19
We really should be documenting these in an easy to find and reference place.
2020-03-17envconfig: Make compiler and linker environment variables matchDylan Baker2-0/+13
2020-03-12docs: Update documentation for GDC linker overridingDylan Baker1-4/+6
2020-03-12docs: Document that ldc now supports linker overriding [skip ci]Dylan Baker1-0/+5
2020-03-12docs: Document from_builtype mapping for b_vscrt [skip ci]Nirbheek Chauhan1-0/+13
2020-03-12Merge pull request #6356 from dcbaker/fix-d-compiler-abstractionsJussi Pakkanen1-8/+31
Fix d compiler abstractions
2020-03-11Add Glorytun in Users.md [skip ci]Adrien Gallouët1-0/+1
2020-03-11coredata: Warn on usage of both -Dbuildtype and -Doptimization/-DdebugNirbheek Chauhan1-0/+1
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
2020-03-09project_tests: Add the option to the test format to mark the languageDylan Baker1-1/+10
This is needed when mixing D and C code, as it's possible to end up witha combination of linkers and compilres such that C produces pdb files but D does not.
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-09project_tests: Add "version" to "shared_lib" and "pdb" typesDylan Baker1-1/+13
This allows the harness to apply the version correctly, putting it in the right place, dropping the right amount of numbers, etc. pdb taking a version allows it to be more easily copied from the shared_lib type.
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-06project_tests: Add a "shared_lib" typeDylan Baker1-8/+10
This allows fixing tests that produce .dylib's on macOS and .so's on elf Unices.
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