aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2019-07-19Add version check support to find_program()Xavier Claessens2-0/+17
Closes: #1609
2019-07-17mintro: Fix section key in buildoptionsDaniel Mensinger1-1/+9
This reverts the changes to the `section` key for the buildoptions and moves the machine choice into it's own `machine` key. With this commit the __undocumented__ breaking change to the introspection format (introduced in 0.51.0) is reverted and a new key is added instead.
2019-07-17Accept vs_module_defs for modulesMarc-André Lureau2-0/+11
Like shared libraries, modules may have vs_module_defs. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2019-07-16gtkdoc: Add 'check' kwarg (#5591)Xavier Claessens2-0/+17
* gtkdoc: Add 'check' kwarg This runs gtkdoc-check in meson tests. Also reorganize the gtkdoc test because we cannot reliably build multiple doc into the same directory. Not all files generated by gtk-doc are prefixed with the target name.
2019-07-16Add Irssi to Usersailin-nemui1-0/+1
2019-07-16Docs: Fix brackets in generator examples [ci skip]ePirat1-3/+3
2019-07-11docMichael Hirsch, Ph.D1-1/+1
2019-07-11Merge pull request #5606 from xclaesse/alias_targetJussi Pakkanen2-0/+26
Add alias_target() function
2019-07-10Add alias_target() functionXavier Claessens2-0/+26
2019-07-10FAQ.md: Do I need to add headers to sources? [skip ci]Nirbheek Chauhan1-0/+18
2019-07-10FAQ.md: Add an entry for generated headers [skip ci]Nirbheek Chauhan1-0/+69
Closes https://github.com/mesonbuild/meson/issues/5624
2019-07-05Explain that using shell functionality is forbidden. [skip ci]Jussi Pakkanen1-0/+6
2019-07-05Document that add_languages() returns a boolean [skip ci] (#5600)Xavier Claessens1-1/+4
2019-07-01Describe array values in install_dir. [skip ci]Jussi Pakkanen1-0/+21
2019-06-27`add_{global,project}_{,link_}arguments`: simply native flag behaviorJohn Ericson2-1/+17
This further simplifies behavior to match the "build vs host" decision we did with `c_args` vs `build_c_args`. The rules are now simply: - `native: true` affects `native: true` targets - `native: false` affects `native: false` targets - No native flag is the same as `native: false` I like this because you don't even have to know what "build" and "host" mean to understand how it works, and it doesn't depend on whether the overall build is cross or not. Fixes #4933
2019-06-27docs: Fix link to SourceSet module in the navbar [skip ci]Iñigo Martínez1-0/+1
2019-06-26dependencies/base: Set PKG_CONFIG_SYSROOT_DIR from cross fileDylan Baker2-0/+12
In some cases it may be necessary to set PKG_CONFIG_SYSROOT_DIR, like when you've mounted a host architecture system in an arbitrary path. Meson will now check the cross files for a [properties]:sys_root variable and set the PKG_CONFIG_SYSROOT_DIR environment variable based on that variable. Fixes #3801 Fixes #4057
2019-06-25Split attribute visibilityDylan Baker2-1/+25
* c_function_attributes: remove 'protected' from 'visibility' This doesn't exist on macos with the apple compiler, which always causes failures. Fixes #5530 * compilers: Add split visibility checks to has_function_attribute These check for a single visibility at a time, rather than all four at once. This allows for finer grained searches, and should make using these checks safer across operating systems.
2019-06-23only --only option to run_project_tests, add type hints, improve variable ↵Michael Hirsch, Ph.D1-0/+10
name use
2019-06-21docs: Update libdir caveatDylan Baker1-3/+6
Fixes #5514
2019-06-19Quick_guide.md:add python-setuptools and wheelandy59951-1/+2
per IRC discussion, the wheel package isn't required but reduces harmless warnings. [skip ci]
2019-06-19Reference-manual.md:add missing equal sign in "both_libraries" sectionandy59951-1/+1
[skip ci]
2019-06-16Update things for new release.0.51.0Jussi Pakkanen27-282/+330
2019-06-16Tutorial.md: Improve English [skip ci]Francisco Velázquez1-3/+2
2019-06-12modules/python: add a modules keyword argumentDylan Baker2-0/+11
This mirrors the modules keyword argument that some dependencies (such as qt and llvm) take. This allows an easier method to determine if modules are installed.
2019-06-10docs: compiler objects are returned [skip ci]Dylan Baker1-102/+102
Not a series problem, but annoys me that that it's in the builtin section when it's a returned object.
2019-06-10Rewrap some doc lines. [skip ci]Jussi Pakkanen2-41/+51
2019-06-08docs: Add bzip2 to the Users pageDylan Baker1-0/+1
2019-06-06cmake: doc: fixed typosDaniel Mensinger1-5/+5
2019-06-06cmake: updated docsDaniel Mensinger4-63/+109
2019-06-06cmake: rebase fixesDaniel Mensinger1-4/+4
2019-06-06cmake: Added docsDaniel Mensinger3-30/+103
2019-06-05Per machine do 'build.' and '' option prefixesJohn Ericson2-25/+45
See the docs/ changes for details.
2019-05-31doc: fix typo [skip ci]Eli Schwartz1-1/+1
Error introduced in commit 8e403e08ac2907214c044c804ee5eef6a45e0ff9
2019-05-28interpreter: add fallback argument to subproject.get_variable()Mathieu Duponchelle2-1/+18
2019-05-27coredata: add cmake_prefix_path optionDylan Baker2-0/+17
2019-05-27docs: pkg_config_path is a list not a stringDylan Baker1-1/+1
You should pass arguments as a list, ie -Dpkg_config_path=/foo,/bar and meson will join the paths appropriately for you.
2019-05-27Update to new ccache URLJoel Rosdahl1-5/+5
ccache’s web site is now located at https://ccache.dev. Bonus: Use the preferred capitalization “Ccache” instead of “CCache”.
2019-05-23docs/Users: update Mesa link [skip ci]Erik Faye-Lund1-1/+1
Mesa's primary home is now in the Freedesktop GitLab instance. The cgit repo is just a mirror.
2019-05-23Use library() instead of rolling your own. [skip ci]Jussi Pakkanen1-11/+4
2019-05-23Merge pull request #5028 from bonzini/sourcesetJussi Pakkanen3-0/+205
new module "sourceset" to match source file lists against configuration data
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.