Jon Turney
5c7f9797c3
docs: Move "build target object" from "build-in objects" to "returned objects"
...
Also move "run result" object so objects are sorted alphabetically
2017-05-19 17:01:43 +01:00
Jon Turney
66a6ea984b
Allow vs_module_defs to use a custom_target
...
Allow vs_module_defs to use a custom_target
Add a test and update documentation
2017-05-16 19:56:32 +01:00
Guillaume Poirier-Morency
05c431c013
vala: Fix typos and cover dependencies without pkg-config file in docs
2017-05-13 23:45:13 +03:00
Guillaume Poirier-Morency
a7fee9bd48
vala: Cover 'find_library' usage and be more explicit for default install directories in docs
2017-05-13 23:45:13 +03:00
Jussi Pakkanen
c2282f9382
Merged rust_args branch.
2017-05-13 22:51:43 +03:00
Jussi Pakkanen
84012a5099
Merge pull request #1669 from mesonbuild/dist
...
Create a dist target
2017-05-12 19:37:31 +03:00
Jon Turney
e99cfdfbc7
Make vs_module_defs: do something for gcc on Windows as well
...
Module definition files may be useful when building with gcc on Windows also
(e.g. if the existing build uses them, if exports are aliased, if we were
retro enough to export by ordinal, etc.)
Add the .def file to the link command line when using gcc on Windows
Run the appropriate windows tests irrespective of compiler.
2017-05-12 18:56:43 +03:00
Jussi Pakkanen
1e14438a38
Merge pull request #1735 from dcbaker/list-of-files
...
Allow passing a list of Files to CustomTarget. Closes #1720
2017-05-12 18:54:46 +03:00
Jussi Pakkanen
8068fc0d1d
Add test and release notes.
2017-05-12 14:25:27 +03:00
Peter Hutterer
73494c9927
docs: make the required argument for find_program stick out more
2017-05-11 22:39:47 +03:00
liberforce
b15f0a0fc1
Update Compiler-properties.md
...
Fix table formatting
2017-05-11 22:39:03 +03:00
Dylan Baker
c03744cccb
Allow passing a list of Files to CustomTarget. Closes #1720
2017-05-11 09:57:38 -07:00
Dylan Baker
e2567386f1
Use flatten for link targets. Fixes #1764
2017-05-11 09:57:38 -07:00
Jussi Pakkanen
6e59d84534
Initialise submodules.
2017-05-11 19:34:16 +03:00
Jussi Pakkanen
1a87c967f1
Merge pull request #1761 from keszybz/docs
...
Some simple doc fixes
2017-05-11 00:15:58 +03:00
Jussi Pakkanen
9141cd78aa
Now cracks a noble heart. Good night sweet prince:
...
And flights of angels sing thee to thy rest!
2017-05-11 00:14:40 +03:00
liberforce
ad6c61dcf5
Update Running-Meson.md
...
Fix parameter escapement
2017-05-11 00:14:17 +03:00
liberforce
6dc54b86b6
Update Syntax.md
...
Fix variable name
2017-05-11 00:13:51 +03:00
Peter Hutterer
7ed19902be
pkgconfig: add suppport for custom variables during generation
...
Usage:
pkgconfig.generate(
...
description : 'A library with custom variables.',
variables : ['foo=bar', 'datadir=${prefix}/data']
)
The variables 'prefix', 'libdir' and 'includedir' are reserved, meson will
fail with an error message.
Variables can reference each other with the pkgconfig notation, e.g.
variables : ['datadir=${prefix}/data',
'otherdatadir=${datadir}/other']
meson does not check this for correctness or that the referenced variable
exists, we merely keep the same order as specified.
2017-05-11 00:13:30 +03:00
Zbigniew Jędrzejewski-Szmek
65450459de
docs: add puncuation to description of compiler object functions
2017-05-09 14:51:01 -04:00
Zbigniew Jędrzejewski-Szmek
ed9f79b8a4
docs: mention $DESTDIR in add_install_script description, add punctuation
...
Although not stricly necessary, it is good to mention $DESTDIR in the
explanation for add_install_script, since it might not be obvious for the
user that it is available.
Also add punctuation to be consistent.
v2:
- fix "witht" typo
- reword $DESTDIR description to say that it is inherited from the environment
- also describe $MESONINTROSPECT
2017-05-09 12:10:35 -04:00
Tim-Philipp Müller
df48be051c
docs: how to make find_program() search additional directories
...
Fixes #1702
2017-05-09 09:20:21 +01:00
Zbigniew Jędrzejewski-Szmek
0a8621a9bd
docs: add hyperlinks and a short description of unity builds
...
At first I thought this is something about Ubuntu ;)
2017-05-08 20:12:29 -04:00
Patrick Griffis
4ad9f26608
docs: Add rust_args entry to release notes
2017-05-08 15:28:25 -04:00
Dylan Baker
7053d9abfd
Allow link_depends to take strings, Files or generated objects. Closes #1172
...
Currently only strings can be passed to the link_depends argument of
executable and *library, which solves many cases, but not every one.
This patch allows generated sources and Files to be passed as well.
On the implementation side, it uses a helper method to keep the more
complex logic separated from the __init__ method. This also requires
that Targets set their link_depends paths as Files, and the backend is
responsible for converting to strings when it wants them.
This adds tests for the following cases:
- Using a file in a subdir
- Using a configure_file as an input
- Using a custom_target as an input
It does not support using a generator as an input, since currently that
would require calling the generator twice, once for the -Wl argument,
and once for the link_depends.
Also updates the docs.
2017-05-08 20:59:46 +02:00
Alberto Aguirre
ccab7d64f4
Add support for @CURRENT_SOURCE_DIR@ in generator arguments
...
Allow users to specify @CURRENT_SOURCE_DIR@ in generator arguments
to specify the current target source directory.
This is useful when creating protobuf generator objects in sub-directories
because protoc will then generate files in the expected location.
Fixes #1622 .
Remove stray semicolon
Update documentation
2017-05-08 20:53:57 +02:00
Jon Turney
855715b29e
docs: make project(license:) a separate bullet point
2017-05-08 20:08:56 +02:00
Günther Wutz
63c4c54a64
Updated gnome module command
2017-05-07 12:10:22 +02:00
Jussi Pakkanen
69c5931a8d
Merge pull request #1657 from QuLogic/ninja-escape
...
ninja: Fix quoting newlines and $
2017-05-06 12:06:35 +02:00
Elliott Sales de Andrade
f9708cf1ba
Add release note about ninja character escaping.
2017-05-05 18:41:05 -04:00
Mathieu Duponchelle
ae04624730
Compiler-properties.md: fix typo
2017-05-05 23:16:23 +02:00
Sven Steinbauer
130d75bee5
Fix missing backticks
2017-05-05 23:16:05 +02:00
Peter Hutterer
7a3be163cb
Default to project_version() in vcs_tag fallback
2017-05-05 08:11:28 +10:00
Peter Hutterer
4378655a39
docs: document additional args for vcs_tag
...
Supported as of 223596d7bf
2017-05-05 08:11:04 +10:00
Peter Hutterer
e982d5118e
docs: clarify that vcs_tag output can be used as source
...
"you should put in your main program" is confusing, "that can be used as
source" is slightly better.
2017-05-05 08:11:04 +10:00
Jussi Pakkanen
11968382a3
Merge pull request #1621 from dcbaker/llvm-dep
...
RFC: Add dependency for LLVM. Fixes #1611
2017-05-04 23:21:40 +02:00
Peter Hutterer
a576791064
Use American English - 'ise' -> 'ize' where applicable
2017-05-04 22:09:27 +03:00
Peter Hutterer
ca924451ac
Use American English: behaviour -> behavior
2017-05-04 22:09:27 +03:00
Chiu Yue Chun
fe85721e7e
Update FAQ.md: meson is not elementary particle
...
meson is a hadron, more specifically, hadrons that consists of a quark and a anti-quark. So, it is a composite particle rather than elementary one.
2017-05-04 22:08:15 +03:00
Dylan Baker
4bee51655b
Add dependency for LLVM. Fixes #1611
...
This adds a depdendncy wrapper for llvm-config based on the wxwidgets
dependency. IT handles libs, version, include dir, and the llvm unique
concept of components. These components are individual pieces of the
LLVM library that may or may not be available depending on the platform.
2017-05-03 14:35:38 -07:00
Dylan Baker
5f1b96a076
docs: Update SharedLibrary vs_module_defs accepts a File object
2017-05-04 00:18:22 +03:00
Elliott Sales de Andrade
f9de195d7c
doc: Replace kwarg with keyword argument.
...
This abbreviation is a Python-ism that is not really clear to those out
of the loop.
2017-05-03 16:20:53 -04:00
Elliott Sales de Andrade
40d7704cd5
doc: Use https links wherever possible.
2017-05-03 16:20:53 -04:00
Elliott Sales de Andrade
ac74b76c33
doc: Fix broken Linux binary page.
...
All the dashes were replaced by spaces.
2017-05-03 16:20:53 -04:00
Elliott Sales de Andrade
4ba298613d
doc: Don't use root-prompt in wraptool examples.
...
A `#` is the root-prompt, whereas `$` is the user-prompt.
2017-05-03 16:20:53 -04:00
Elliott Sales de Andrade
f3ad633f55
doc: Fix several minor typos.
2017-05-03 16:20:53 -04:00
Elliott Sales de Andrade
b80d40c287
doc: Capitalize things more consistently.
...
Upper or lower case depending on the official spelling, or the more
consistent usage.
2017-05-03 16:20:51 -04:00
Elliott Sales de Andrade
492e281c0e
doc: Remove duplicate design rationale page.
2017-05-03 16:20:24 -04:00
Jussi Pakkanen
0e3aa5a348
Merge pull request #1587 from mesonbuild/tingping/msgfmt-datadir
...
i18n: Improve data_dirs support
2017-05-03 18:51:55 +03:00
Peter Hutterer
276d342eba
docs: replace 'meson build' with 'meson builddir'
...
Clarifies that this is really just a directory, not a command.
https://github.com/mesonbuild/meson/issues/1560
2017-05-03 21:00:36 +10:00
Peter Hutterer
7ec6e6df20
docs: add a short description for all top pages in the Manual
2017-05-03 21:00:36 +10:00
Peter Hutterer
71f0a63fb2
docs: fix link to file a new issue
2017-05-03 21:00:36 +10:00
Peter Hutterer
ea127d5594
docs: fix missing build directory
2017-05-03 20:12:29 +10:00
Peter Hutterer
aed341f7e5
docs: fix links to the meson repos
2017-05-03 13:32:03 +10:00
Patrick Griffis
a6775233c7
docs: Document missing gnome.compile_resources() kwargs
2017-05-02 22:14:39 +03:00
Gabríel Arthúr Pétursson
ae924b01a0
docs: s/no tbe/not be/
2017-05-02 00:52:29 +03:00
John Gallagher
de762feb87
Fix typo in Generating-sources.md
...
First `custom_target` example was missing a closing `'`.
2017-05-01 23:06:54 +03:00
Corey Ashford
d6dfc94188
Update Overview.md
...
fix typo
2017-05-01 23:06:27 +03:00
Ernestas Kulik
1c8ac8fd6d
docs: replace occurences of set_install_script()
...
The method has been replaced with add_install_script().
Signed-off-by: Ernestas Kulik <ernestas.kulik@gmail.com>
2017-05-01 19:15:35 +03:00
Wade Berrier
d542b2c0cc
deps: boost: add some documentation about environment variables
2017-04-29 12:34:07 +03:00
Patrick Griffis
78edc58153
docs: Add data_dirs to i18n.merge_file()
2017-04-29 04:08:08 -04:00
Mathieu Duponchelle
b983d091e6
howtox.md: fix header hierarchy
...
.. and remove an obsolete wiki home link at the bottom of the page
2017-04-28 23:01:38 +03:00
Guillaume Poirier-Morency
4c35b4b791
Update Vala documentation with most recent changes
...
Cover installation using the `install_dir` array and the additional arguments for specifying the C header, VAPI and GIR names.
2017-04-28 23:01:06 +03:00
Jussi Pakkanen
13df62deec
Added release notes page for 0.41.0.
2017-04-26 23:45:02 +03:00
Thibault Saunier
ef45352f80
docs: website license is CC-BY and code samples are CC0
2017-04-26 17:56:33 +03:00
Thibault Saunier
b371875e02
docs: Import the website and wiki and build with hotdoc
...
This allows us to more easily have the documentation in sync with
the source code as people will have to document new features etc
right at the time where they implement it.
2017-04-26 17:56:33 +03:00