Commit Graph

985 Commits

Author SHA1 Message Date
Emmanuel Pacaud 923efe9eda Add aravis to meson users (#5757) [skip-ci]
Aravis project is now using meson as its build system.
2019-08-02 07:52:26 +00:00
Marc-André Lureau 06aaffa4e1 Allow kconfig to read from configure_file()
At configure time, kconfig can read from configure_file().

"test cases/kconfig/4 load_config builddir/meson.build" was already
showing a workaround, now it actually can take configure_file input
directly.
2019-07-31 21:42:24 +03:00
Michael Hirsch, Ph.D 148a3a83a6 DOC: meson test multiple --suite specifications [skip ci]
docs:wrap < 80 col
2019-07-30 19:08:48 +03:00
ePirat 84030abd31 Docs: Add default value of install kwarg [skip-ci] 2019-07-30 18:23:07 +03:00
Dylan Baker 487fdfcd11 docs: Add missing closing ` in reference manual 2019-07-26 12:06:47 +00:00
Dylan Baker 03f3c7ad62 docs: correct key in dep.get_variable
pkg-config -> pkgconfig
2019-07-26 12:06:47 +00:00
Michael Hirsch, Ph.D 49dd56b312 add missing link [skip ci] 2019-07-26 11:57:47 +03:00
Michael Hirsch, Ph.D b90b69d383 note that integers have .to_string() method [skip ci] 2019-07-26 11:57:47 +03:00
Daniel Mensinger 8bc408e4ba Added KDevelop to the docs (#5714) [skip ci]
The new meson plugin will be included in KDevelop 5.4, so adding
it to the IDE-Integration docs.

https://www.kdevelop.org/news/kdevelop-5380-released
2019-07-25 10:46:32 +00:00
Nirbheek Chauhan b0f4587663 docs: Document when install: was added to configure_file [skip ci]
Somehow we forgot to document this.
2019-07-25 03:39:50 +05:30
Jussi Pakkanen f2e018c7f3 Create multiple different archive types with dist. 2019-07-23 23:26:46 +03:00
Xavier Claessens 2e41d53e4d Add version check support to find_program()
Closes: #1609
2019-07-19 08:55:50 -04:00
Daniel Mensinger 3b3f53ab55 mintro: Fix section key in buildoptions
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-17 19:20:33 +03:00
Marc-André Lureau 341d245e68 Accept vs_module_defs for modules
Like shared libraries, modules may have vs_module_defs.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2019-07-17 19:19:56 +03:00
Xavier Claessens f5da881126 gtkdoc: Add 'check' kwarg (#5591)
* 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-16 22:50:33 +03:00
ailin-nemui 9bb6093fa0 Add Irssi to Users 2019-07-16 08:39:18 -07:00
ePirat 42d48b461d
Docs: Fix brackets in generator examples [ci skip] 2019-07-16 12:57:54 +02:00
Michael Hirsch, Ph.D a90a9aac84 doc 2019-07-11 22:37:25 +03:00
Jussi Pakkanen 19cda6b7c9
Merge pull request #5606 from xclaesse/alias_target
Add alias_target() function
2019-07-11 00:34:40 +03:00
Xavier Claessens 12d4031f52 Add alias_target() function 2019-07-10 15:01:18 -04:00
Nirbheek Chauhan a310ba863e FAQ.md: Do I need to add headers to sources? [skip ci] 2019-07-10 01:00:42 +03:00
Nirbheek Chauhan 2cc9d79e95 FAQ.md: Add an entry for generated headers [skip ci]
Closes https://github.com/mesonbuild/meson/issues/5624
2019-07-10 01:00:42 +03:00
Jussi Pakkanen 785b0711cd Explain that using shell functionality is forbidden. [skip ci] 2019-07-05 23:39:16 +03:00
Xavier Claessens dd8f75ad93
Document that add_languages() returns a boolean [skip ci] (#5600) 2019-07-05 14:19:04 -04:00
Jussi Pakkanen 33aee8d113 Describe array values in install_dir. [skip ci] 2019-07-01 09:53:30 -07:00
John Ericson 9149aaba9c `add_{global,project}_{,link_}arguments`: simply native flag behavior
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-27 21:24:50 +03:00
Dylan Baker e182dba61f dependencies/base: Set PKG_CONFIG_SYSROOT_DIR from cross file
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-26 23:28:33 +03:00
Dylan Baker e2039da5d9 Split attribute visibility
* 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-25 00:02:26 +03:00
Michael Hirsch, Ph.D 40a3a6c3d0 only --only option to run_project_tests, add type hints, improve variable name use 2019-06-23 18:22:43 +03:00
Dylan Baker d35d7ccad1 docs: Update libdir caveat
Fixes #5514
2019-06-21 16:55:18 +03:00
andy5995 a1ea5fd16b Quick_guide.md:add python-setuptools and wheel
per IRC discussion, the wheel package isn't required but reduces
harmless warnings.

[skip ci]
2019-06-19 00:05:30 +03:00
andy5995 ceb70a5c2e Reference-manual.md:add missing equal sign in "both_libraries" section
[skip ci]
2019-06-19 00:03:36 +03:00
Jussi Pakkanen 5ecab57667 Update things for new release. 2019-06-16 22:03:29 +03:00
Francisco Velázquez 288ef0e0e7 Tutorial.md: Improve English [skip ci] 2019-06-16 20:43:55 +03:00
Dylan Baker 15ab1f64f9 modules/python: add a modules keyword argument
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-12 14:13:20 +03:00
Dylan Baker 0e23dbec81 docs: compiler objects are returned [skip ci]
Not a series problem, but annoys me that that it's in the builtin
section when it's a returned object.
2019-06-10 23:48:27 +03:00
Jussi Pakkanen 6b4b601eaf Rewrap some doc lines. [skip ci] 2019-06-10 01:46:55 +03:00
Dylan Baker 342767d6c7 docs: Add bzip2 to the Users page 2019-06-08 18:05:44 +03:00
Daniel Mensinger 4abd2e7103
cmake: doc: fixed typos 2019-06-06 18:27:05 +02:00
Daniel Mensinger 438ee6b01d
cmake: updated docs 2019-06-06 18:27:05 +02:00
Daniel Mensinger 35936316eb
cmake: rebase fixes 2019-06-06 18:27:04 +02:00
Daniel Mensinger 6cb904de7b
cmake: Added docs 2019-06-06 18:27:03 +02:00
John Ericson af2d7af998 Per machine do 'build.' and '' option prefixes
See the docs/ changes for details.
2019-06-05 23:05:34 -04:00
Eli Schwartz 5a0fec13b6 doc: fix typo [skip ci]
Error introduced in commit 8e403e08ac
2019-05-31 12:31:26 -07:00
Mathieu Duponchelle 12a82e763d interpreter: add fallback argument to subproject.get_variable() 2019-05-28 20:26:54 +03:00
Dylan Baker 0714ba58c7 coredata: add cmake_prefix_path option 2019-05-27 01:24:08 +03:00
Dylan Baker 0d19d334a8 docs: pkg_config_path is a list not a string
You should pass arguments as a list, ie -Dpkg_config_path=/foo,/bar
and meson will join the paths appropriately for you.
2019-05-27 01:24:08 +03:00
Joel Rosdahl f13e65b93a Update to new ccache URL
ccache’s web site is now located at https://ccache.dev.

Bonus: Use the preferred capitalization “Ccache” instead of “CCache”.
2019-05-27 01:10:57 +03:00
Erik Faye-Lund 9b3592a8ba docs/Users: update Mesa link [skip ci]
Mesa's primary home is now in the Freedesktop GitLab instance. The cgit repo is just a mirror.
2019-05-23 21:21:35 +03:00
Jussi Pakkanen 8e403e08ac Use library() instead of rolling your own. [skip ci] 2019-05-23 00:45:51 +03:00