Tim-Philipp Müller
df48be051c
docs: how to make find_program() search additional directories
...
Fixes #1702
2017-05-09 09:20:21 +01: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
Thibault Saunier
3e2c3c9ff0
docs: Fix link to QT5 in the navbar
2017-04-29 00:13:39 +03: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
Jussi Pakkanen
eb38a05beb
Fix web site upload repository.
2017-04-26 22:53:26 +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