aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
AgeCommit message (Collapse)AuthorFilesLines
2019-06-30Describe array values in install_dir. [skip ci]installdocJussi 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-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 Pakkanen26-282/+329
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 Pakkanen2-0/+204
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 Bonzini2-0/+204
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 -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