Commit Graph

81 Commits

Author SHA1 Message Date
TingPing e34edae240 docs: Complete list of targets from i18n.gettext() 2017-06-03 16:02:08 +03:00
TingPing e351b39430 docs: Add mention of target made by gnome.gtkdoc()
Mentioned in #1844
2017-05-24 19:52:46 +03:00
Jussi Pakkanen 07f117e385 Merge pull request #1664 from QuLogic/codecov
Enable code coverage
2017-05-22 20:22:12 +03:00
Ole André Vadla Ravnås ef736bb084 Update the Frida URL and description. 2017-05-22 20:02:19 +03:00
Elliott Sales de Andrade 17328e7019 Add coverage export for tests. 2017-05-21 16:11:31 -04:00
Jussi Pakkanen 189784b474 Merge pull request #1792 from jon-turney/custom_target_vs_module_defs
Allow vs_module_defs to use a custom_target
2017-05-21 21:31:14 +03:00
cagatay-y 79b0111018 Update link
Gcovr homepage is moved. Updated the link to the new URL.
2017-05-21 21:20:24 +03:00
Jussi Pakkanen 3bd6130df2 Merge pull request #1823 from jon-turney/master
Improve documentation of build target and custom target objects
2017-05-21 16:20:35 +03:00
cagatay-y a24a91b29e Fix typo 2017-05-21 16:19:08 +03:00
cagatay-y 55a9b6c240 Change repeated word 2017-05-21 16:18:55 +03:00
Elliott Sales de Andrade a2a28c72ea Remove extra temporary file from docs. 2017-05-21 16:18:33 +03:00
Jussi Pakkanen e985d930af Updated list of users and minor sitemap cleanup. 2017-05-20 11:59:42 +03:00
Jon Turney 75099510f1 docs: The return value of executable() is a builttarget object.
Make executable() consistent with all other functions returning a
buildtarget, it's return type is a buildtarget object.
2017-05-19 18:00:42 +01:00
Jon Turney cad8386733 docs: Document the object returned by custom_target 2017-05-19 18:00:29 +01:00
Jon Turney f12a7f2ad0 docs: Correct list of things that are a build target to include shared_module 2017-05-19 17:01:46 +01:00
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