summaryrefslogtreecommitdiff
path: root/docs/markdown
Commit message (Collapse)AuthorAgeFilesLines
...
* | Added docs for all meson commands + corresponding unit test (#7217)TheQwertiest2020-06-151-0/+604
| |
* | Tweak gnome.gtkdoc() documentation for clarity and grammarJon Turney2020-06-131-2/+2
| |
* | [skip ci] docs: Bring up to date on options per machineJohn Ericson2020-06-122-14/+64
| | | | | | | | | | | | I tried to fix the docs when the stuff was added, but it turns out I missed things, as noted in https://github.com/mesonbuild/meson/issues/7284#issuecomment-641641177
* | docs: remove duplicated entry for gnome.generate_gir() documentation [skip ci]坂本 貴史2020-06-121-1/+0
| | | | | | | | | | | | | | | | The documentation of gnome.generate_gir() has duplicated entry for dependencies parameter. As a fix, this patch removes the entry added recently. Fixes: 893d101fff01 ("gnome: Add header kwarg to generate_gir()") Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
* | Correct argument typo in partial_dependnecy (#7300) [skip ci]Phillip Johnston2020-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should be "sources" not "source" ``` ../meson.build:162: WARNING: Passed invalid keyword argument "source". WARNING: This will become a hard error in the future. Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 131, in run return options.run_func(options) File "/usr/local/lib/python3.7/site-packages/mesonbuild/msetup.py", line 245, in run app.generate() File "/usr/local/lib/python3.7/site-packages/mesonbuild/msetup.py", line 159, in generate self._generate(env) File "/usr/local/lib/python3.7/site-packages/mesonbuild/msetup.py", line 192, in _generate intr.run() File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreter.py", line 4359, in run super().run() File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 465, in run self.evaluate_codeblock(self.ast, start=1) File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 490, in evaluate_codeblock raise e File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 483, in evaluate_codeblock self.evaluate_statement(cur) File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 498, in evaluate_statement self.assignment(cur) File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 1151, in assignment value = self.evaluate_statement(node.value) File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 500, in evaluate_statement return self.method_call(cur) File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 895, in method_call return obj.method_call(method_name, args, self.kwargs_string_keys(kwargs)) File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 39, in method_call return method(args, kwargs) File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 285, in wrapped return f(*wrapped_args, **wrapped_kwargs) File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 151, in wrapped return f(*wrapped_args, **wrapped_kwargs) File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.py", line 213, in wrapped return f(*wrapped_args, **wrapped_kwargs) File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreter.py", line 484, in partial_dependency_method pdep = self.held_object.get_partial_dependency(**kwargs) TypeError: get_partial_dependency() got an unexpected keyword argument 'source' FAILED: build.ninja ```
* | docs/users: Add Le Machine Learning library [skip ci]Kyrylo Polezhaiev2020-06-081-0/+1
| |
* | Merge pull request #7245 from dankegel/response-files-when-needed-tidiedJussi Pakkanen2020-06-081-0/+7
|\ \ | |/ |/| Make ninja backend only use response files when needed, on linux too
| * docs: add snippet about response file changeDan Kegel2020-06-051-0/+7
| |
* | Add libeconf to users.mdRichard Brown2020-06-041-0/+1
| | | | | | libeconf is now using meson as its primary/default build system, so we'd like to see ourselves on the meson users list .
* | Add android to os list informally. Closes #6233. [skip ci]Jussi Pakkanen2020-06-041-0/+1
| |
* | [skip ci] mesonwrap docs: fix a broken linkLisa White2020-06-031-1/+1
| |
* | docs/unit-tests: Show a test can have multiple suites [skip ci]Ebrahim Byagowi2020-06-021-1/+1
| |
* | [skip ci] mesonwrap docsLisa White2020-06-023-31/+61
| | | | | | | | | | | | | | - Add ambiguous naming documentation. - Update branch request documentation. - Add mesonwrap token documentation. - Update review guidelines.
* | [skip ci] mesonwrap docs: limit line length and remove trailing spacesLisa White2020-06-021-10/+14
|/
* Merge pull request #6818 from mensinda/localPatchJussi Pakkanen2020-05-272-6/+18
|\ | | | | Wrap: add local files support via *_filename
| * wrap: Updated docsDaniel Mensinger2020-04-252-6/+18
| |
* | docs: Fix typo in Release notes [skip ci]Soapux2020-05-271-1/+1
| |
* | opts: added docsDaniel Mensinger2020-05-262-0/+17
| |
* | fixed typop01arst0rm2020-05-241-1/+1
| |
* | ast: Add docs for --astDaniel Mensinger2020-05-232-18/+73
| |
* | compilers/d: Add b_ndebug supportDylan Baker2020-05-201-0/+4
| | | | | | | | | | | | | | | | D lang compilers have an option -release (or similar) which turns off asserts, contracts, and other runtime type checking. This patch wires that up to the b_ndebug flag. Fixes #7082
* | pass exe_wrapper to test scripts through the environmentDylan Baker2020-05-182-0/+16
| | | | | | | | | | | | | | This adds a new MESON_EXE_WRAPPER environment variable containing the string form of the exe_wrapper, if there is an exe_wrapper defined. Fixes #4427
* | Merge pull request #7103 from dankegel/bug4027-rpath-rememberJussi Pakkanen2020-05-181-0/+7
|\ \ | | | | | | Let .pc files and LDFLAGS provide rpaths.
| * | docs: add snippet documenting rpath behavior changeDan Kegel2020-05-161-0/+7
| | |
* | | Docs: Make the suggested use for the not-found dependency better [skip ci]Dylan Baker2020-05-141-4/+6
| | |
* | | interpreter: Rename has_exe_wrapper -> can_run_host_binariesDylan Baker2020-05-143-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation of this function has changed enough that the name doesn't really reflect what it actually does. It basically returns true unless you're cross compiling, need and exe_wrapper, and don't have one. The original function remains but is marked as deprecated. This makes one small change the meson source language, which is that it defines that can_run_host_binaries will return true in build == host compilation, which was the behavior that already existed. Previously this was undefined in build == host compilation.
* | | docs: Add a Howto about the null dependency [skip ci]Dylan Baker2020-05-141-0/+23
| | |
* | | Merge pull request #6620 from jon-turney/test-output-checkDylan Baker2020-05-131-3/+24
|\ \ \ | | | | | | | | Add a mechanism for validating meson output in tests
| * | | Update test.json schema to add stdoutJon Turney2020-04-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the test.json schema, adding the 'stdout' property. Also amend the test.json schema so the presence of an unexpected property on the root object causes a validation error. v2: Also add 'tools' property to json schema. Amend the documentation not to use the word 'list' to describe a dict.
| * | | Add a mechanism for validating meson output in testsJon Turney2020-04-301-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expected stdout lines must match lines from the actual stdout, in the same order. Lines with match type 're' are regex matched. v2: Ignore comment lines in expected_stdout v3: Automatically adjust path separators for location in expected output v4: Put expected stdout in test.json, rather than a separate file
* | | | ConfigToolDependency: Don't fallback to system tool when cross compilingXavier Claessens2020-05-112-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The system tool is always the wrong thing to use and cause hard to debug issues when trying to link system libraries with cross built binaries. The ExternalDependency base class already had a method to deal with this, used by PkgConfigDependency and QtBaseDependency, so it should make things more consistent.
* | | | Add AVR to cpu families. Closes #7085.Jussi Pakkanen2020-05-111-0/+1
| |/ / |/| |
* | | rename unstable-kconfig to unstable-keyvalPaolo Bonzini2020-05-082-12/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Discussions in #6524 have shown that there are various possible uses of the kconfig module and even disagreements in the exact file format between Python-based kconfiglib and the tools in Linux. Instead of trying to reconcile them, just rename the module to something less suggestive and leave any policy to meson.build files. In the future it may be possible to add some kind of parsing through keyword arguments such as bool_true, quoted_strings, etc. and possibly creation of key-value lists too. For now, configuration_data objects provide an easy way to access quoted strings. Note that Kconfig stores false as "absent" so it was already necessary to write "x.has_key('abc')" rather than the more compact "x['abc']". Therefore, having to use configuration_data does not make things much more verbose.
* | | docs/Precompiled-headers: minor spell check. [skip ci]Wenjian He2020-05-071-1/+1
| | | | | | | | | | | | a give target -> a given target Proposed by #7081 .
* | | Merge pull request #7064 from dcbaker/gtest-protocolJussi Pakkanen2020-05-063-46/+123
|\ \ \ | | | | | | | | Add support for Gtest as a test protocol
| * | | docs/unit-tests: Add information about output filesDylan Baker2020-05-041-0/+25
| | | |
| * | | docs: Reformat unit-tests to be ~80 characters per lineDylan Baker2020-05-041-41/+84
| | | |
| * | | Add native support for gtest testsDylan Baker2020-05-042-5/+14
| |/ / | | | | | | | | | | | | | | | | | | | | | Gtest can output junit results with a command line switch. We can parse this to get more detailed results than the returncode, and put those in our own Junit output. We basically just throw away the top level 'testsuites' object, then fixup the names of the tests, and shove that into our junit.
* | | Merge pull request #7060 from dcbaker/install-script-targetsJussi Pakkanen2020-05-032-0/+31
|\ \ \ | | | | | | | | Allow meson.add_*_script to take additional types
| * | | docs: Update documentation for add_*_scriptDylan Baker2020-04-302-0/+31
| |/ /
* | | Merge pull request #6838 from dcbaker/link-language-in-librariesJussi Pakkanen2020-05-022-2/+14
|\ \ \ | | | | | | | | Link language in libraries
| * | | Docs: Update link_language docs to explain when it should be usedDylan Baker2020-04-302-2/+14
| |/ /
* | | docs/Users: add Vala Language ServerPrinceton Ferro2020-05-011-0/+1
| | | | | | | | | See https://github.com/benwaffle/vala-language-server
* | | Document formal Meson grammar [skip ci]Flow-It2020-05-011-0/+70
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP: Document formal Meson grammar * Various little fixes [skip ci] 1) Add missing logical_not_expr 2) 'in' and 'not in' are valid relational operators at least for dicts 3) dictionary keys can be expressions, but kwarg names cannot 4) typo logical_end_expression -> logical_and_expression 5) Make jump statements only allowed inside an iteration statement * Rework EBNF style [skip ci] As there is no good order for the productions, just go alphabetically. The EBNF style was changed to match the one the Python lark project uses, that is colons for productions and terminals enclosed in double quotes. * Add missing production for unary operators [skip ci] * Add production for multiline strings [skip ci] * Properly define terminal symbols [skip ci] Depending on the EBNF flavor, regex can be used to describe the terminal symbols. Lark allows this, and as it was mentioned as a possible user of this grammar, let's follow its flavor here. Most regexes used are easily human-readable, and we can always add comments to more complicated ones. * Small changes to which expressions can be used where [skip ci] Let the grammar be very general. The type system then has to check, that the used expression really evaluates to the correct type. Even if we know today that assignment expressions always evaluate to None (and can therefore only be used as a toplevel expression in an expression statement), this needn't be the case forever. So this way, the grammar stays stable even if such changes were made. * Rework function argument list production [skip ci] * Be more verbose for production names [skip ci] Rename expr -> expression, stmt -> statement, op -> operator, program -> build_definition. Also adjust some list productions. * Add paragraph about syntax stability promises [skip ci]
* | Merge pull request #6911 from mensinda/ciBionicJussi Pakkanen2020-04-291-5/+15
|\ \ | | | | | | ci: Add Ubuntu Bionic image
| * | tests: Add support for specifying tool requirementsDaniel Mensinger2020-04-281-0/+10
| | | | | | | | | | | | | | | | | | Adds the `tools` section to `tests.json` to specify requirements for the tools in the environment. All tests that fail at least one tool requirements check are skipped.
| * | docs: Fix Contributing.mdDaniel Mensinger2020-04-281-5/+5
| | |
* | | Meson Cmake Wrapper unmaintained [skip ci]Brendan Simon2020-04-281-1/+1
|/ / | | | | The Meson CMake Wrapper project is currently unmaintained.
* | find_program: Fixes when the program has been overridden by executableXavier Claessens2020-04-282-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - ExternalProgramHolder has path() method while CustomTargetHolder and BuildTargetHolder have full_path(). - The returned ExternalProgramHolder's path() method was broken, because build.Executable object has no get_path() method, it needs the backend. - find_program('overridden_prog', version : '>=1.0') was broken because it needs to execute the exe that is not yet built. Now assume the program has the (sub)project version. - If the version check fails, interpreter uses ExternalProgramHolder.get_name() for the error message but build.Executable does not implement get_name() method.
* | mtest: Generate a JUnit xml result fileDylan Baker2020-04-231-0/+4
|/ | | | | | | | | JUnit is pretty ubiquitous, lots of services and results viewers understand it, in particular gitlab and jenkins know how to consume JUnit xml. This means projects using CI services can have their test results consumed automatically. Fixes: #6972