Commit Graph

335 Commits

Author SHA1 Message Date
Jussi Pakkanen a5b2b90309
Merge pull request #2815 from taisei-project/fix_windows_compile_resources
[windows] make compile_resources use custom targets instead of generators
2018-01-13 19:38:48 +02:00
Jussi Pakkanen d6bed2a77d
Merge pull request #2764 from mesonbuild/generatorpath
Generator outputs can have path segments
2018-01-13 19:00:38 +02:00
Andrei Alexeyev fd4236085b
Add a release note snippet for the windows.compile_resources() change 2018-01-12 23:52:25 +02:00
Jussi Pakkanen dfd368d405
Merge pull request #2803 from dcbaker/wip/freebsd-fixes
various BSD fixes
2018-01-09 22:08:00 +02:00
Nikita Churaev de8018a17d Add `export_dynamic` argument to `executable`. (#2662) 2018-01-09 21:36:13 +02:00
Dylan Baker 3b8e65911c docs: Add netbsd to the reference table 2018-01-06 13:49:34 -08:00
Dylan Baker 1723a91af3 docs: Add dragonfly BSD to OS reference table 2018-01-06 13:49:34 -08:00
Dylan Baker 4d8552ef55 docs: Add freebsd to the reference table 2018-01-06 13:49:34 -08:00
Igor Gnatenko 711c3a28ba doc/users: add ksh 2018-01-06 14:40:01 +02:00
Shlomi Fish 2ffdf48356 Add a missing space. 2018-01-02 20:29:32 +02:00
Shlomi Fish 468260504e Correct some grammar. 2018-01-02 20:29:32 +02:00
Nirbheek Chauhan 2d08c190d0 docs: get_option returns relative paths for xxxdir options
[skip ci]
2018-01-02 19:01:34 +05:30
Jussi Pakkanen 4a189cf8c5 Add unit test that checks that the sample projects compile. 2017-12-31 23:24:29 +02:00
Jussi Pakkanen 82c8550fb6 Added documentation for project templates. 2017-12-31 23:18:08 +02:00
Jussi Pakkanen dd3f49af0d
Merge pull request #2757 from xclaesse/pkgconfig
pkgconfig: Allow passing Dependency objects to library(_private)
2017-12-31 19:11:57 +02:00
Gabríel Arthúr Pétursson 2c1b45b2b2 Release notes for 0.43 are no longer preliminary 2017-12-29 23:53:47 +00:00
TingPing ff81db83af
docs: Fix missing syntax highlighting 2017-12-28 07:08:24 -05:00
Nirbheek Chauhan de3feb9625
docs: find_program native: is available since 0.43 2017-12-28 04:27:38 +05:30
Jussi Pakkanen 7fc46a3d06 Explain test setup a bit more. 2017-12-26 13:35:20 +02:00
Jussi Pakkanen ac8d6087bf
Merge pull request #2334 from mesonbuild/promotedep
Add functionality to promote nested dependencies to top level.
2017-12-26 13:24:30 +02:00
Jussi Pakkanen a5507404ab Reformat and update doc page. 2017-12-26 13:11:57 +02:00
Passw caf151afb9 add one more blank line at the tail of Disabler.md
From http://mesonbuild.com/Manual.html , it seems that `Disabler.md` messes up `Modules.md`
2017-12-26 13:09:40 +02:00
Xavier Claessens f9c9e80d4a pkgconfig: Update documentation 2017-12-20 19:09:08 -05:00
Jussi Pakkanen b437977a60 Created documentation page for code contributions. 2017-12-20 21:05:42 +02:00
Jussi Pakkanen 34c03719a3 Added documentation. 2017-12-18 21:10:14 +02:00
Jussi Pakkanen 46c071ea5c Add functionality to promote nested dependencies to top level. 2017-12-17 21:17:13 +02:00
Hemmo Nieminen d232a80e90 Allow value 'if-release' for b_ndebug project option. (#1896)
When set, NDEBUG will be automatically defined for for release builds but
not for other build types.
2017-12-17 21:06:06 +02:00
Shawn Landden 202b2fedf3 make clickable 2017-12-17 13:27:21 +02:00
Shawn Landden 44415ab61e Update Users.md
now only build system of systemd
2017-12-16 12:51:27 +02:00
Michael James Gratton 93c988b453 Enable re-compilation of GNOME gschema files if they have changed.
* mesonbuild/modules/gnome.py (GnomeModule.compile_schemas): Allow the
  depend_files kwarg.

* docs/markdown/Gnome-module.md: Add docs for new kwarg (and the only
  other one that is permitted).
2017-12-13 21:31:32 +02:00
Michael James Gratton 1a50fe45e8 Add Geary to the list of users - will use meson for the next release. 2017-12-13 21:29:39 +02:00
Iñigo Martínez cc952b055a docs: Change variable in pkg-config example
The example provided for the `get_pkgconfig_variable` when using using the `define_variable` parameter is not the best example, because it is using `prefix` for both. This changes the retrieved variable for `libdir` so the efect of the variable redefinition is more noticeable.
2017-12-12 18:33:04 +00:00
Iñigo Martínez 514d21e6a4 docs: Add documentation to dependency variables
Meson is able to redefine variables when retrieving them from
 `pkg-config` dependencies. However, the documentation is missing.

This patch adds documentation for this feature.
2017-12-12 18:33:04 +00:00
Jussi Pakkanen 04d5d017c5 Fix documentation on disabler behaviour with short circuiting. 2017-12-11 22:21:39 +02:00
Jussi Pakkanen e674434389 Updated version number for new release. 2017-12-10 17:56:27 +02:00
Jussi Pakkanen cbefb57ffe
Merge pull request #2745 from dcbaker/submit/haiku
small fixes for haiku
2017-12-10 14:42:53 +02:00
Ernestas Kulik 7ae5716f67 Touch up install_dir() documentation
It no longer removes the target tree before copying files.
2017-12-09 01:52:33 +02:00
Jon Turney 8d795a8403 Fix typo in release note snippet for get_unquoted
Grammar is still a bit fractured, but I'm not entirely sure what it's trying to say.
2017-12-09 01:51:29 +02:00
Dylan Baker 75bc95bd66 docs: Add haiku to reference table 2017-12-07 09:35:12 -08:00
Jussi Pakkanen bc83c58d37
Merge pull request #2731 from mesonbuild/disabler
Created disabler object type
2017-12-05 01:10:50 +02:00
Jussi Pakkanen d3dcef7efc Added documentation for disabler objects. 2017-12-05 01:09:15 +02:00
Jon Turney 87e6201214 Document and improve not-found dependency objects
Document dependency('', required:false) usage.
Avoid emitting 'Dependency  found: NO'.
2017-12-05 01:04:57 +02:00
Jussi Pakkanen 6d03111638 Minor fixes. 2017-12-03 23:32:48 +02:00
Jussi Pakkanen f8a419b27d String arguments can permit arbitrary string values
by leaving out the choices keyword.
2017-12-03 22:27:55 +02:00
Jussi Pakkanen aa6b576256 Reformatted and fixed running doc. 2017-12-02 19:55:44 +02:00
Jussi Pakkanen 793fc002fa
Merge pull request #2390 from dcbaker/submit/options-list
Add an array type to user options
2017-12-02 19:54:27 +02:00
Dylan Baker 6f25e93b52 cross: Implement support for loading cross files from system paths
One thing that makes cross compiling with meson a pain is the need for
cross files. The problem is not with cross files themselves (they're
actually rather brilliant in that they allow for a much greater deal of
flexibility than autotools hardcoded paths approach) but that each user
needs to reimplement them themselves, when for most people what they
really want is a cross file that could be provided by their distro, all
they really want is the correct toolchain.

This patch is the first stop to making it easier for distros to ship
their own cross files (and for users to put their's somewhere safe so
they don't get `git clean`ed. It allows the cross files (on Linux and
*BSD) to be stored in home and system paths (~/.config/meson/cross,
/usr/share/meson/cross, and /usr/local/share/meson/cross), and to be
loaded by simply by specificying --cross-file.

With this patch meson will check the locations its always checked first,
(is cross file absolute, or is it relative to $PWD), then will check
~/.config/meson/cross, /usr/local/share/meson/cross,
/usr/share/meson/cross, (or $XDG_CONFIG_PATH and $XDG_DATA_DIRS) for the
files, raising an exception if it cannot find the specified cross file.

Fixes #2283
2017-11-30 22:34:27 +02:00
Dylan Baker c9351ce30c Add new array type option
This exposes the already existing UserStringArrayOption class through
the meson_options.txt. The intention is to provide a way for projects to
take list/array type arguments and validate that all of the elements in
that array are valid without using complex looping constructrs.
2017-11-29 14:14:41 -08:00
Jussi Pakkanen 5208e6524c
Merge pull request #2701 from dcbaker/submit/better-llvm-docs
Minor LLVM dependency cleanups for the next release
2017-11-29 22:00:49 +02:00
Zbigniew Jędrzejewski-Szmek 01ab4acf7f docs: note when warning() was added
Followup for 1540e615f1.
2017-11-29 21:13:49 +02:00