Commit Graph

1313 Commits

Author SHA1 Message Date
Xavier Claessens 56c9e95b04 Implicit dependency fallback when a subproject wrap or dir exists 2020-07-01 09:45:33 -04:00
Jussi Pakkanen 64f36613ef
Merge pull request #7231 from mensinda/cmOverride
cmake: Add more advanced subproject configuration options
2020-07-01 00:04:08 +03:00
TheQwertiest b6981bd16e
Made Commands.md dynamically generated (#7346) 2020-06-30 23:56:08 +03:00
TheQwertiest 83a973ca04 Replaced `ninja` with `meson` [skip ci] 2020-06-30 23:52:31 +03:00
TheQwertiest 9e0db0a05e Cleaned up Reference docs [skip ci] 2020-06-30 23:51:55 +03:00
Xavier Claessens 4a371c97f4 wrap: Apply patch even in VCS cases 2020-06-30 19:42:43 +03:00
Xavier Claessens 1c8731a100 envconfig: Add [constants] section in machine files
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-29 20:16:21 +03:00
TheQwertiest 5696a5abba Added ability to specify target in `meson compile` 2020-06-29 19:54:38 +03:00
TheQwertiest 4d0233540f Added ability to pass arguments to backend in `meson compile` 2020-06-28 18:13:49 -04:00
Michael Hirsch, Ph.D b9b15816e8 syntax.md: document version_compare ambiguities [skip ci] 2020-06-28 23:54:16 +03:00
Michael Hirsch, Ph.D 1e140c002b syntax.md: correct markdown heading syntax [skip ci] 2020-06-28 23:54:16 +03:00
Daniel Mensinger 08f29c1812 docs: Add initial docs for the Meson CI [skip ci] 2020-06-24 22:43:38 +03:00
Nirbheek Chauhan 83df219747 docs: Document string path building with examples
Also document that line continuation didn't work before 0.50.

90c9b868b2 fixed it.
2020-06-24 16:56:54 +00:00
Igor Raits d6c6b933c4 mcompile: Add --verbose mode
Closes: https://github.com/mesonbuild/meson/issues/7352
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
2020-06-21 23:49:39 +03:00
Xavier Claessens e353b2e8d4 wrap: Add patch_directory support
Copy a tree instead of extracting an archive.

Closes: #7216
2020-06-21 23:39:12 +03:00
Tim-Philipp Müller 246e5437aa compiler: add 'force_align_arg_pointer' function attribute 2020-06-21 23:34:11 +03:00
Jussi Pakkanen da018da753
Merge pull request #7359 from dcbaker/submit/2020-06/sh4
Add SuperH SH-4 support
2020-06-21 23:11:22 +03:00
Michael Brockus 9168032403
Update Style-guide.md [skip ci] 2020-06-21 23:06:48 +03:00
Michael Brockus 3f1108c923
Update Creating-releases.md [skip ci] 2020-06-21 22:35:33 +03:00
Dylan Baker b384f82b9a envconfig: Add support SuperH SH-4
Fixes: #7358
2020-06-19 10:56:09 -07:00
Dylan Baker 348b0ef671 docs: Alphabetically sort the cpu_family reference table
It's close, but not quite. This should make it easier to read
2020-06-19 10:54:18 -07:00
Cyril Richard 189d3b0513
Update Users.md [skip ci]
Update Users.md with the add of Siril (www.siril.org) that is migrating from autotools to meson.
2020-06-19 17:32:18 +03:00
Jussi Pakkanen 1309b06183
Merge pull request #7196 from cconverse711/llvm-cov
coverage: llvm-cov support
2020-06-18 18:57:25 +03:00
TheQwertiest 96609da8d2 docs: replaced `ninja` with appropriate `meson` commands [skip ci] 2020-06-18 17:47:10 +03:00
Cary Converse a198e5d191 coverage: llvm-cov support 2020-06-17 23:02:50 -04:00
Michael f7b7514014 update Project-templates.md 2020-06-17 17:35:15 +03:00
Xavier Claessens 972cac13f4 doc: Fix missing --force-fallback-for documentation 2020-06-16 15:15:00 -04:00
Mathieu Duponchelle 20709af4d2 interpreter: add support for --force-fallback-for
This new command line option allows specifying dependencies for
which to force fallback.

See the documentation for more information

Fixes: #7218
2020-06-16 13:45:40 -04:00
Xavier Claessens 0b4cf5a844 gnome: Add fatal_warnings kwarg to generate_gir()
Fixes: #7130
2020-06-16 08:21:35 -04:00
laolux 0a583ac06a
Documentation, FAQ.md, generated_headers [skip ci] 2020-06-15 23:31:55 +03:00
TheQwertiest 399303b534
Added docs for all meson commands + corresponding unit test (#7217) 2020-06-15 11:20:20 +05:30
Jon Turney 3babaaaeec Tweak gnome.gtkdoc() documentation for clarity and grammar 2020-06-13 18:48:35 +00:00
John Ericson 58c2aeb5e4 [skip ci] docs: Bring up to date on options per machine
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
2020-06-12 10:35:11 -07:00
坂本 貴史 5f8d89b707
docs: remove duplicated entry for gnome.generate_gir() documentation [skip ci]
The documentation of gnome.generate_gir() has duplicated entry for
dependencies parameter. As a fix, this patch removes the entry added
recently.

Fixes: 893d101fff ("gnome: Add header kwarg to generate_gir()")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
2020-06-12 00:33:47 +03:00
Phillip Johnston 7fd22c9696
Correct argument typo in partial_dependnecy (#7300) [skip ci]
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
```
2020-06-11 10:06:57 -07:00
Kyrylo Polezhaiev 44aa64b6a0
docs/users: Add Le Machine Learning library [skip ci] 2020-06-08 22:00:27 +03:00
Jussi Pakkanen 801dc03070
Merge pull request #7245 from dankegel/response-files-when-needed-tidied
Make ninja backend only use response files when needed, on linux too
2020-06-08 00:33:46 +03:00
Dan Kegel 536c64b241 docs: add snippet about response file change 2020-06-05 14:15:32 -07:00
Daniel Mensinger ede2cd556c
cmake: added docs 2020-06-05 11:45:10 +02:00
Richard Brown 2e30afb23b Add libeconf to users.md
libeconf is now using meson as its primary/default build system, so we'd like to see ourselves on the meson users list .
2020-06-04 20:34:27 +02:00
Jussi Pakkanen f818d961e4 Add android to os list informally. Closes #6233. [skip ci] 2020-06-04 00:42:09 +03:00
Lisa White 5e3f9b4b06 [skip ci] mesonwrap docs: fix a broken link 2020-06-03 13:32:22 +01:00
Ebrahim Byagowi 647f19b5aa
docs/unit-tests: Show a test can have multiple suites [skip ci] 2020-06-02 20:39:18 +03:00
Lisa White fcbff1de7c [skip ci] mesonwrap docs
- Add ambiguous naming documentation.
- Update branch request documentation.
- Add mesonwrap token documentation.
- Update review guidelines.
2020-06-02 18:24:52 +01:00
Lisa White 6ecb716f9c [skip ci] mesonwrap docs: limit line length and remove trailing spaces 2020-06-02 18:24:52 +01:00
Jussi Pakkanen c61f75adbf
Merge pull request #6818 from mensinda/localPatch
Wrap: add local files support via *_filename
2020-05-27 23:42:30 +03:00
Soapux 228fd24ca4
docs: Fix typo in Release notes [skip ci] 2020-05-27 19:51:39 +03:00
Daniel Mensinger c9cd235af4 opts: added docs 2020-05-26 13:48:26 -04:00
p01arst0rm 91db25ac85 fixed typo 2020-05-24 13:18:10 +02:00
Daniel Mensinger 550a450324
ast: Add docs for --ast 2020-05-23 18:20:12 +02:00