aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
AgeCommit message (Collapse)AuthorFilesLines
2020-08-25Merge pull request #7581 from peterh/aixJussi Pakkanen1-0/+8
Add AIX support
2020-08-25qt module: add qresource support to compile_translationsEli Schwartz2-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.
2020-08-23Merge pull request #7600 from alexrp/masterJussi Pakkanen2-2/+2
Add C2x option support.
2020-08-22Add C2x option support.Alex Rønne Petersen2-2/+2
2020-08-22Merge pull request #7447 from scivision/nvcJussi Pakkanen2-0/+4
Add support for NVidia HPC SDK compilers
2020-08-22added VS Code/Codium extention [skip ci]noasakurajin1-0/+1
2020-08-21Virtualization 💖 Meson [skip ci]Paolo Bonzini1-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>
2020-08-18Interpreter: Fix c_stdlib usageXavier Claessens2-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.
2020-08-17docs: add AIX preliminary support snippetPeter Harris1-0/+8
2020-08-15add owl chess in Users.md [skip ci]Michael Brockus1-0/+1
2020-08-15Add paper rock scissors to Users.md [skip ci]Michael Brockus1-0/+1
2020-08-15Add that prefix keyword works for cc.get_defineJohn Scott1-1/+1
2020-08-14docs: Clarify some FAQs in the Tutorial [skip ci]Nirbheek Chauhan1-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
2020-08-08Written a new paragraph for var naming recommendation (#7531)Michael Brockus1-3/+6
2020-08-05Document VS backend from_buildtype behaviour change in release notesNirbheek Chauhan1-0/+8
Closes https://github.com/mesonbuild/meson/issues/7438
2020-08-02Merge pull request #6597 from dcbaker/full-project-configDylan Baker2-13/+160
Set project and meson options in cross/native files
2020-08-02docs/users: Add HarfBuzz [skip ci]Ebrahim Byagowi1-0/+1
Proudly a meson user now
2020-08-01update version from 0.55. to 0.56Dylan Baker1-4/+4
2020-08-01machine-files: deprecate the paths sectionDylan Baker1-1/+3
2020-08-01docs/machine-files: Add a section on data typesDylan Baker1-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
2020-08-01Allow setting built-in options from cross/native filesDylan Baker2-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.
2020-07-31Doc: Added clarification on introspection files gen order [skip ci]Alexis Jeandet1-1/+2
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2020-07-30docs/Machine-files: remove duplicate Properties sectionDylan Baker1-7/+0
2020-07-30Allow setting project options from cross or native filesDylan Baker2-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.
2020-07-28Describe syntax of `meson configure [skip ci]Matthew D. Scholefield1-1/+1
This makes it a lot easier for people to quickly figure out how to customize parameter.
2020-07-22coredata: Make warning_level per subproject builtin optionXavier Claessens2-21/+44
2020-07-21Add boost_root support to properties files (#7210)cmcneish1-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.
2020-07-20string: add substring methodStéphane Cerveau2-0/+23
This method aims to offer a simple way to 'substring' an existing string with start and end values.
2020-07-19Fix dirs typo in Vala docs [skip ci]wb96881-1/+1
Co-authored-by: wb9688 <wb9688@users.noreply.github.com>
2020-07-19Stabilize keyval moduleMarc-André Lureau2-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>
2020-07-14Replace `dynamic linker` with `linker` [skip ci]Nathan Lanza1-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.
2020-07-14doc: Add warning about --force-fallback-for [skip ci]Xavier Claessens1-0/+22
2020-07-13docMichael Hirsch, Ph.D2-0/+4
2020-07-12Updated everything for release 0.55.0.0.55.0Jussi Pakkanen26-275/+307
2020-07-09doc: Small tweaks to fallback documentation [skip ci]Xavier Claessens2-2/+6
2020-07-05doc: Improve documentation of [provide] section in wrap filesXavier Claessens2-20/+49
Explicitly document the behaviour of dependency('foo-1.0', required: false).
2020-07-04doc: Minor typo fix in legal.md [skip ci]Thibault Saunier1-1/+1
2020-07-01wrap: Update doc to give dependency_names example firstXavier Claessens1-8/+8
2020-07-01Fix typo: coma->commaXavier Claessens1-1/+1
2020-07-01find_program: Fallback if a wrap file provide the program nameXavier Claessens2-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.
2020-07-01wrap: Add special 'dependency_names' key in [provide] sectionXavier Claessens1-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().
2020-07-01wrap: Add 'provide' sectionXavier Claessens3-2/+41
2020-07-01Implicit dependency fallback when a subproject wrap or dir existsXavier Claessens2-1/+12
2020-07-01Merge pull request #7231 from mensinda/cmOverrideJussi Pakkanen2-3/+91
cmake: Add more advanced subproject configuration options
2020-06-30Made Commands.md dynamically generated (#7346)TheQwertiest1-658/+0
2020-06-30Replaced `ninja` with `meson` [skip ci]TheQwertiest6-9/+9
2020-06-30Cleaned up Reference docs [skip ci]TheQwertiest1-486/+470
2020-06-30wrap: Apply patch even in VCS casesXavier Claessens2-5/+12
2020-06-29envconfig: Add [constants] section in machine filesXavier Claessens2-0/+93
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.
2020-06-29Added ability to specify target in `meson compile`TheQwertiest2-5/+53