Commit Graph

738 Commits

Author SHA1 Message Date
Nirbheek Chauhan d42a3ae05f Document dependency().name() added in 0.48 [skip ci]
Closes https://github.com/mesonbuild/meson/issues/3351
2018-12-17 21:03:57 +05:30
Luca Weiss 41bca1ede9 Fix typo in Native-environments.md [skip ci] 2018-12-16 16:44:35 +02:00
Lzu Tao 0c33c7ca8a Add note for install_man in Reference-manual [skip ci] 2018-12-16 16:42:50 +02:00
lzutao c208e81e1a Format Compiler and linker flag table [skip ci] 2018-12-13 11:22:02 -05:00
Nirbheek Chauhan 99e77cf48d docs: Consistently use the same heading level in release notes [skip ci]
Otherwise some headings are much too large.
2018-12-13 20:06:31 +05:30
Jussi Pakkanen 131459bd05 Add Renesas RL78 CPU family. Closes #4606. 2018-12-11 20:56:35 +02:00
Simon Arlott f77ead26eb docs: build_always_stale was added in 0.47 [skip ci] 2018-12-10 20:21:55 +02:00
Jon Turney 2df39c398d Add a missing newline in release note [skip ci] 2018-12-10 15:36:54 +00:00
Jussi Pakkanen 51aaa15bda Update everything for release 0.49.0 2018-12-09 21:58:12 +02:00
Dylan Baker 46f3b8f753 docs: fix link to platform install quirks [skip ci]
Fixes #4571
2018-12-05 17:57:04 +00:00
Nirbheek Chauhan 5f8aedfa8b
Fix typos in kwargdict snippet [skip ci] 2018-12-05 08:20:09 +05:30
Nirbheek Chauhan 55d79a6ba2 docs: Misc syntax fixes and missing links [skip ci] 2018-12-05 02:40:34 +00:00
Nirbheek Chauhan c502ddfebf docs: Document subproject(... required: false) [skip ci]
Somehow this was missed in the original PR #3885
2018-12-05 02:40:34 +00:00
Nirbheek Chauhan febd3e8524
Document how to declare fallback-only dependencies [skip ci] 2018-12-05 07:44:27 +05:30
Jussi Pakkanen 58b838a80b Can specify keyword arguments with a dict. 2018-12-04 23:44:17 +02:00
Xavier Claessens 8612f1543f pkgconfig: Improve and document generator behaviour
- Add libraries from InternalDependency.libraries
- Deprecate association of libraries from the "libraries" keyword
argument to the generated pkg-config file.
2018-12-04 06:49:02 -05:00
Xavier Claessens 2efedf80e0 Add documentation for 'meson subprojects' command line 2018-12-02 08:37:32 -05:00
Jussi Pakkanen d272f23dba
Merge pull request #4569 from lzutao/readme
Add link to built-in options page
2018-12-01 23:17:48 +02:00
Lzu Tao 4bd0243daf Update sample output of meson configure [skip ci] 2018-12-01 22:08:24 +02:00
Lzu Tao 2a23dd8bb0 Add link to built-in options page [skip ci] 2018-11-30 18:00:32 +07:00
lzutao 0c23e65457 Add meson version required to use option type (#4562) [skip ci] 2018-11-30 00:11:06 +05:30
Jon Turney d502e83493 docs: Remove mention of appveyor from Contributing doc
Add mention of azure
Also fix anchor in travis URL
Also make 'see below' into a link
2018-11-28 11:14:46 +02:00
Daniel Schulte 0e62193730 mintro: Allow introspect --projectinfo without build directory.
This variant was added to allow introspection before configuring a build
directory. This is useful for IDE integration to allow displaying and/or
setting options for the initial configuration of the build directory.

It also allows showing basic information about the project even if it's
not yet configured or configuring failed.

The project 'name' field in --projectinfo is used inconsistently:
For the top level project it always shows the name configured in
the top level meson.build file. For subprojects it's referring to the
name of the directory the subproject's meson.build is contained in.

To have a consistent output and preserve the existing behavior this adds
the 'descriptive_name' field which always shows the name set in the
project.

To be consistent the 'descriptive_name' field was also added to the
--projectfiles variant that uses an already configured build.

It also extends the information shown with the list of buildsystem-files.
This is currently only implemented in the variant for unconfigured
projects.
2018-11-26 23:12:00 +01:00
Daniel Mensinger ceb5e9f042
Updated docs [skip ci] 2018-11-24 11:19:13 +01:00
Floris Bruynooghe e629a4ad1d [skip ci] Document CFLAGS and friends in main docs
Currently this is only partially documented in the quick-start guide,
include this in the main docs and document all the environment
argumens used.
2018-11-22 22:31:19 +02:00
Daniel Mensinger a0175ecb14 CMake find_package dependency backend (#4444) 2018-11-22 22:30:12 +02:00
Jon Turney 8b88fb990e docs: Alphabetically sort reference table rows [skip ci] 2018-11-22 22:28:21 +02:00
Jon Turney e72a2b2260 docs: Add clang-cl to reference table for compiler get_id() values [skip ci] 2018-11-22 22:28:21 +02:00
Iñigo Martínez e78fd7e8c5 docs: Add missing `namespace` parameter documentation [skip ci]
Although the `namespace` parameter was implemented in 0.37, its
documentation is still missing.

It has been added to the `gtkdoc`'s  documentation.
2018-11-20 22:50:21 +02:00
Jussi Pakkanen a2a96bda74 Add piter.py conference to video page. [skip ci] 2018-11-17 02:31:27 +02:00
Dylan Baker 0ab27add49 docs: Add documentation for Native Files 2018-11-14 15:57:37 -08:00
Mathieu Duponchelle 979a14596d docs: fix hard links [skip ci] 2018-11-12 20:59:19 +02:00
Nirbheek Chauhan f831c05b55
docs: Clarify some pkgconfig module kwargs [skip ci] 2018-11-12 17:20:45 +05:30
Stian Selnes 0821462ce3 Add kwarg is_default to add_test_setup()
is_default may be used to set the name of the test setup that will be
used by default whenever the option --setup is not given.

Fixes #4430
2018-11-12 16:23:59 +05:30
Phillip Cao 68c83cb213 Add support for Renesas CC-RX toolchain 2018-11-08 00:02:22 +13:00
Luca Weiss 42cdb32033 Update Python-module.md
Fix link to the disabler object
2018-11-04 13:56:28 -05:00
Dylan Baker 63f4f9481e Add new compiler.get_argument_syntax method
Some compilers try very had to pretend they're another compiler (ICC
pretends to be GCC and Linux and MacOS, and MSVC on windows), Clang
behaves much like GCC, but now also has clang-cl, which behaves like MSVC.

This method provides an easy way to determine whether testing for MSVC
like arguments `/w1234` or gcc like arguments `-Wfoo` are likely to
succeed, without having to check for dozens of compilers and the host
operating system, (as you would otherwise have to do with ICC).
2018-11-03 18:10:36 +02:00
Jussi Pakkanen 23ed0e1857 Make string division do path joining. 2018-11-02 21:02:25 +02:00
Nirbheek Chauhan 1c2cfe4529 docs: Fix gcc attribute list link [skip ci] 2018-10-27 23:11:44 +01:00
Jussi Pakkanen 026bdd600a No tabs, only spaces. [skip ci] 2018-10-27 17:15:31 +03:00
Dylan Baker 1e054ad2b9 docs: Fix hotdoc warnings [skip ci]
Hotdoc really wants internal links to point to the .md files instead of
the generated names. Which makes sense, as we're currently relying on
the fact that meson only generated .html pages.
2018-10-27 16:07:14 +03:00
Dylan Baker 7458e762a3 docs: Add documentation to custom_targets for codegen [skip ci]
Including the following that has come up several times recent:
 - How to use codegen for headers (that each target that uses the header
   needs the object in it's sources)
 - Using custom_targets with multiple outputs
2018-10-27 16:07:14 +03:00
xiannox 5b3192534c module-qt: add rcc_extra_arguments to pass extra arguments to rcc (#4406) 2018-10-24 19:11:08 +03:00
Xavier Claessens 61348da069 Add 'disabler' argument to functions returning not-found objects
When dependency(), find_library(), find_program(), or
python.find_installation() return a not-found object and disabler is
true, they return a Disabler object instead.
2018-10-23 22:09:55 +03:00
Nicole Mazzuca f1546e289c add cpp_std support for MSVC 2018-10-22 19:14:00 +03:00
Kostiantyn Ponomarenko 1309b47cbb doc: Improve wrap and subproject documentation [skip ci]
Make docs more user friendly, and add missing information.

Signed-off-by: Kostiantyn Ponomarenko <konstantin.ponomarenko@gmail.com>
2018-10-21 23:26:14 +03:00
Jussi Pakkanen 1a2f5b3bc8 Clarify that the tutorial requires prebuilt dependencies. [skip ci] 2018-10-21 18:53:24 +03:00
Michał Górny e8232c7825 Remove implicit compression of man pages
Remove the code responsible for implicitly compressing manpages as .gz
files.  It has been established that manpage compression is a distro
packager's task, with existing distros already having their own
implementations of compression.

Fixes #4330
2018-10-20 13:16:28 +03:00
Jussi Pakkanen 066060e8c9
Merge pull request #4327 from xclaesse/wrap
wrap: Support using local files instead of downloading
2018-10-20 00:54:09 +03:00
Jon Turney 648b2c5799 Document the no_builtin_args argument of Compiler object methods [skip ci] 2018-10-20 00:48:00 +03:00