aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2019-05-22join_paths => / [skip ci]Michael Hirsch, Ph.D6-18/+20
2019-05-22new module "sourceset" to match source file lists against configuration dataPaolo Bonzini3-0/+205
In QEMU a single set of source files is built against many different configurations in order to generate many executable. Each executable includes a different but overlapping subset of the source files; some of the files are compiled separately for each output, others are compiled just once. Using Makefiles, this is achieved with a complicated mechanism involving a combination of non-recursive and recursive make; Meson can do better, but because there are hundreds of such conditional rules, it's important to keep meson.build files brief and easy to follow. Therefore, this commit adds a new module to satisfy this use case while preserving Meson's declarative nature. Configurations are mapped to a configuration_data object, and a new "source set" object is used to store all the rules, and then retrieve the desired set of sources together with their dependencies. The test case shows how extract_objects can be used to satisfy both cases, i.e. when the object files are shared across targets and when they have to be separate. In the real-world case, a project would use two source set objects for the two cases and then do "executable(..., sources: ... , objects: ...)". The next commit adds such an example.
2019-05-21Merge pull request #5372 from dcbaker/get_variableJussi Pakkanen3-0/+48
Dependency.get_variable method
2019-05-20Generators can have extra target dependencies. Closes #4131.Jussi Pakkanen2-0/+19
2019-05-20fixup! tests: Add test for Dependency.get_variableDylan Baker1-1/+1
2019-05-20docs: Add docs for Dependency.get_variableDylan Baker3-0/+48
2019-05-17Fix typo in Dlang-module.mdSzunti1-2/+2
2019-05-14Merge pull request #5331 from dcbaker/iclJussi Pakkanen2-23/+37
ICL (Intel for Windows) support
2019-05-13FAQ: Add an entry about the library naming scheme with MSVC [skip ci]Nirbheek Chauhan1-0/+34
This is very frequently asked.
2019-05-13docs/markdown: add snippet for intel-cl supportDylan Baker1-0/+13
2019-05-13docs/reference-table: Add intel-clDylan Baker1-23/+24
Because the Intel compiler behaves significantly differently on windows than it does on Linux and MacOS I've decided it would be better to follow the clang/clang-cl split and make id "intel-cl" on windows (leaving "intel" alone on Linux and Mac). Since we've never supported ICL and it hasn't worked in the past I think this is an okay change to make.
2019-05-12Add entry for random design points. [skip ci]Jussi Pakkanen1-0/+13
2019-05-09add support for "target_type: 'shared_module'" in build_target()Daniel Eklöf2-1/+29
2019-05-05Add white border to logo used on web pages. [skip ci]Jussi Pakkanen1-0/+0
2019-05-05add -fno-exceptions if cpp_eh=none is specified nicole mazzuca1-1/+7
2019-05-04Update Users.md [skip ci] (#5358)Amit D1-0/+3
2019-05-02per-target manual specification of link_languageMichael Hirsch, Ph.D2-1/+13
2019-05-02Add vc++ cpp_std flags to the documentationNicole Mazzuca1-1/+1
2019-05-02Merge pull request #5161 from TheQwertiest/feature/custom_target_linkJussi Pakkanen1-2/+3
Can link against custom_target[i]
2019-05-02Describe how to add support for new compilers. [skip ci]Jussi Pakkanen1-0/+34
2019-04-29Updated docs with information about `custom_target[i]`TheQwertiest1-2/+3
2019-04-28consistent invalid escape sequence behaviourJon Turney1-0/+3
* docs: document unrecognized escape sequence behaviour [skip ci] Document that unrecognized escape sequence behaviour is like python, not C. * Don't try to decode invalid hex escape sequences Don't try to decode escape sequences which should contain a sequence of hex digits, but don't, throwing a python exception. These will treated literally instead. * Extend test case to cover invalid escape sequences
2019-04-24Rewrap text. [skip ci]Jussi Pakkanen1-4/+19
2019-04-24doc: Update coverage related documentationRichard Kjerstadius2-2/+2
2019-04-22Add support for the Xtensa toolchainFernando Ramos1-0/+5
From (almost) all points of view, the Xtensa toolchain can be treated as a regular GCC toolchain. This patch adds very basic support so that, at least, meson does not fail when trying to use "xt-xcc" (which makes it possible to use it without problems).
2019-04-22i18n: add args keyword to merge_fileKonstantin1-0/+1
* i18n: add args keyword to merge_file * i18n: add testcase to msgfmt args
2019-04-22Fix table layout. [skip ci]Jussi Pakkanen1-19/+19
2019-04-21dist: recurse into git submodulesVladimír Čunát1-1/+2
2019-04-21Merge pull request #5289 from mesonbuild/fixxpassJussi Pakkanen1-0/+15
Report xpass results as failures.
2019-04-21Report xpass results as failures.Jussi Pakkanen1-0/+15
2019-04-16Add VS2019 backend CI and docs.Anton Kochkov2-2/+3
2019-04-15fix gpgme support by preferring pkg-config where possibleEli Schwartz2-2/+2
Since gpgme 1.13.0, pkg-config files are available and this is the preferred way to detect the dependency. Without this, projects that wish to generate pkg-config files that Requires.private on gpgme, now have their custom dependency() fallbacks overridden with an incorrect configtool dependency.
2019-04-15(#5260) link to builtin options in `library()` fnKeefer Rourke1-2/+3
As a newcomer to the Meson build system, I found the documentation of the `library()` function to be a bit misleading. Eventually I found what 'user option' referred to after digging through the docs. This just adds a link back to the page that describes the options that are referred to in this paragraph.
2019-04-14docs/fallback-wraptool: wrap to 80 charactersDylan Baker1-6/+14
2019-04-14docs: update fallback wraptool docs [skip ci]Dylan Baker1-2/+2
Fixes #5229
2019-04-10Update Built-in Option c_std for C17. Closes #4842.jrl643-2/+11
2019-04-10docs: Change 0.51 to 0.50.1 [skip ci]Dylan Baker1-1/+1
Since this is targeting the 0.50.1 bugfix release.
2019-04-10[docs] Reordered options and fixed a typo [skip ci]TheQwertiest1-2/+2
2019-04-09docs: Document pkg_config_path and cross_ options [skip ci]Dylan Baker1-17/+24
2019-04-08mintro: removed deprecated --target-files APIDaniel Mensinger1-0/+4
2019-04-08Merge pull request #5176 from ao2/add-subproject-foreach-commandJussi Pakkanen2-1/+17
Add 'meson subprojects foreach' command
2019-04-06Add gpgme-config supportJan Tojnar2-1/+11
GPGME does not support pkg-config so we need config-tool support if we do not want projects like Almanah and Seahorse to parse the values manually.
2019-04-02Add shaderc dependency lookup logicAndrei Alexeyev1-0/+12
2019-04-02Merge pull request #5128 from Ericson2314/sanity-check-with-flagsJussi Pakkanen1-0/+17
Sanity check with external args
2019-04-01docs: fix typo s/responsability/responsibility/ [skip ci]Antonio Ospite1-1/+1
2019-04-01Add 'meson subprojects foreach' commandAntonio Ospite2-0/+16
Sometimes it is convenient to run an arbitrary command (e.g. 'git diff') on all subprojects. Add a 'meson subprojects foreach' command to take care of that. For this command the common argument 'subprojects' does not make sense, so only add '--sourcedir' and cover the case of a missing options.subprojects in run().
2019-04-01Merge pull request #5103 from mesonbuild/linkcustomJussi Pakkanen2-3/+27
Can link against custom targets
2019-03-30docs: Document when environment() was added (#5178) [skip ci]Jonatan PÃ¥lsson1-1/+2
The environment() function was added in 0.35.0 (which contains a2e7ebc5, containing the actual addition)
2019-03-29dependencies/base: Pass correct arguments to subdependenciesDylan Baker1-0/+3
Currently InternalDependency.get_partial_dependency shadows the the input variables names, and then passes those new copies to the final object returned. It also passes them to the arguments of of get_partial_dependency for each subdependency, which is wrong. The code is supposed to proxy the original argumetn values to that instead of the shadowing values. To avoid that this patch renames the new values.
2019-03-29[Docs] Built-in options page cleanup (fixes #5165) [skip ci]TheQwertiest1-19/+28
- Added missing universal options. - Split options in `directories` and `core` groups. - Sorted alphabetically some of the groups. - Removed `cross-file` from options, since it's not an option.