Commit Graph

734 Commits

Author SHA1 Message Date
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
Dylan Baker c9e181c10b editorconfig: Use tabs for sitemap.txt [skip ci] 2018-11-08 20:38:39 +02:00
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
Xavier Claessens c453400d59 Add 'b_pie' compiler option
On Android executables must be position independent, many
distributions enable it by default too for security reasons.
2018-10-20 00:47:27 +03:00
Xavier Claessens d6fba7f01c wrap: Allow source and patch to be local files
It is sometimes important to be able to build projects offline, in that
case subproject tarballs and patches could be shipped directly within
the project's repository.
2018-10-17 21:56:49 -04:00
TingPing aca2f7ed97
docs/Release-notes-for-0.47.0.md: Fix highlighting 2018-10-15 16:15:08 -04:00
TingPing d64eed7791
docs/Release-notes-for-0.48.0.md: Minor cleanups 2018-10-15 16:11:42 -04:00
Will Thompson d2de93aa01 Users.md: fix ‘userpsace’ typo [skip ci] 2018-10-15 09:42:55 +01:00
Jussi Pakkanen 2d5e2142e9 Added add_project_arguments description to argument page. [skip ci] 2018-10-13 23:26:11 +03:00
Xavier Claessens b9e405c634 doc: Add missing assert() function [skip ci] 2018-10-12 22:25:40 +03:00
Jussi Pakkanen 302df74cc3 Add CppCon Youtube link to videos page. [skip ci] 2018-10-10 22:16:26 +03:00
Dylan Baker e9ba04537f Add gnu hurd to *_machine information 2018-10-10 19:42:51 +03:00
Xavier Claessens 38a6582145 configure_file: Support taking values from a dict
Closes #4218
2018-10-08 21:03:32 +03:00
Cristian Molina 24ea95abb1 Add elementary OS (#4341) [skip ci]
Starting with Juno release, all native vala programs/libs use Meson as build system.
[See blog post](https://medium.com/elementaryos/all-aboard-the-meson-future-hype-train-2b6c478b6b9e) and [official docs](https://elementary.io/docs/code/getting-started#the-build-system).
2018-10-07 10:03:17 -07:00
Xavier Claessens b6fc063b13 Add documentation and release notes for 'in', 'continue' and 'break' 2018-10-04 20:18:56 -04:00