aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
AgeCommit message (Collapse)AuthorFilesLines
2018-10-04Add documentation and release notes for 'in', 'continue' and 'break'Xavier Claessens1-0/+42
2018-09-22Updated release note page.0.48.0Jussi Pakkanen18-281/+0
2018-09-18Doc: Deprecate python3 module [skip ci]Xavier Claessens1-0/+18
The new 'python' module is a superset of its features, keeping both is confusing. Closes #4168.
2018-09-16Add 'clone-recursive' option for git wrapsAndrei Alexeyev1-0/+7
This causes Meson to clone the repo with the --recursive flag, pulling all of the submodules automatically.
2018-09-12Add a release note snippetJon Turney1-0/+15
Also tweak releated documentation
2018-09-07Add method to check for C/C++ function attributesDylan Baker1-0/+29
It's fairly common on Linux and *BSD platforms to check for these attributes existence, so it makes sense to me to have this checking build into meson itself. Autotools also has a builtin for handling these, and by building them in we can short circuit cases that we know that these don't exist (MSVC). Additionally this adds support for two common MSVC __declspec attributes, dllimport and dllexport. This implements the declspec version (even though GCC has an __attribute__ version that both it and clang support), since GCC and Clang support the MSVC version as well. Thus it seems reasonable to assume that most projects will use the __declspec version over teh __attribute__ version.
2018-09-04Add --fatal-meson-warnings command line optionXavier Claessens1-0/+6
This makes any warning message printed by meson raise an exception, intended to be used by CI and developpers to easily catch deprecation warnings and other potential issues.
2018-09-03i18n: add release note snippetCorentin Noƫl1-0/+4
2018-09-03Allow override_find_program to use an executable.Rafael Ɓvila de Espƭndola1-0/+8
With this it is now possible to do foobar = executable('foobar', ...) meson.override_find_program('foobar', foobar) Which is convenient for a project like protobuf which produces both a dependency and a tool. If protobuf is updated to use override_find_program, it can be used as protobuf_dep = dependency('protobuf', version : '>=3.3.1', fallback : ['protobuf', 'protobuf_dep']) protoc_prog = find_program('protoc')
2018-08-29Improve support for macOS dylib versioningNirbheek Chauhan1-0/+9
We now use the soversion to set compatibility_version and current_version by default. This is the only sane thing we can do by default because of the restrictions on the values that can be used for compatibility and current version. Users can override this value with the `darwin_versions:` kwarg, which can be a single value or a two-element list of values. The first one is the compatibility version and the second is the current version. Fixes https://github.com/mesonbuild/meson/issues/3555 Fixes https://github.com/mesonbuild/meson/issues/1451
2018-08-29Merge pull request #4016 from thiblahute/hotdocJussi Pakkanen1-0/+22
modules: Add an 'hotdoc' module
2018-08-28hotdoc: Add documentationThibault Saunier1-0/+22
2018-08-27Add support for custom dist scripts.Jussi Pakkanen1-0/+12
2018-08-26Add a release note snippetJon Turney1-0/+14
Also adjust relevant documentation
2018-08-22Added "native" kwarg to add_XXX_args. Closes #3669.Jussi Pakkanen1-0/+34
2018-08-18Convert buildtype to optimization and debug options (#3489)Jussi Pakkanen1-0/+21
2018-08-14interpreter: Add support for dict additionXavier Claessens1-0/+10
2018-08-12Merge pull request #4000 from MathieuDuponchelle/gir_multiple_libsJussi Pakkanen1-0/+7
gnome.generate_gir: refactor and allow passing multiple libraries
2018-08-11Typo fix. [skip ci]Jussi Pakkanen1-3/+3
2018-08-09Call it gnu_symbol_visibility instead.Jussi Pakkanen1-2/+2
2018-08-09Update documentation for symbol visibility.Jussi Pakkanen1-0/+13
2018-08-09gnome.generate_gir: support generating gir for multiple librariesMathieu Duponchelle1-0/+7
Fixes #3688
2018-07-31Be more general in description. [skip ci]Jussi Pakkanen1-9/+9
2018-07-31custom targets: Add a 'console' kwarg for long-running commandsNirbheek Chauhan1-0/+13
Ninja buffers all commands and prints them only after they are complete. Because of this, long-running commands such as `cargo build` show no output at all and it's impossible to know if the command is merely taking too long or is stuck somewhere. To cater to such use-cases, Ninja has a 'pool' with depth 1 called 'console', and all processes in this pool have the following properties: 1. stdout is connected to the program, so output can be seen in real-time 2. The output of all other commands is buffered and displayed after a command in this pool finishes running 3. Commands in this pool are executed serially (normal commands continue to run in the background) This feature is available since Ninja v1.5 https://ninja-build.org/manual.html#_the_literal_console_literal_pool
2018-07-07Add release snippetChristoph Behle1-0/+39
2018-07-02Update everything for new release.0.47.0Jussi Pakkanen19-246/+0
2018-07-02Contributing.md: Document procedure for new features [skip ci]Nirbheek Chauhan1-3/+3
2018-06-29Options: treat array option -Dopt= and -Dopt=[] as equivalentDylan Baker1-0/+5
Currently the former will be parsed as [''], while the latter is parsed as [] in python. This makes for some obnoxious special handling depending on what the user passes. This is even more obnoxious since for string type arguments this doesn't require special handling.
2018-06-21Added ARMCLANG compiler support for C/C++ (#3717)Vasu Penugonda1-0/+25
2018-06-20Added documentation.testcommandJussi Pakkanen1-0/+12
2018-06-18Add a depends: keyword to windows.compile_resources()Jon Turney1-1/+1
Expose depends: from the custom_target this creates.
2018-06-18run_command: Add new kwarg 'capture'Nirbheek Chauhan1-2/+7
capture: false means we won't try to read the stdout at all. Closes https://github.com/mesonbuild/meson/issues/3364
2018-06-18Deprecate `build_always`, add `build_always_stale`Alex Hirsch1-0/+12
Since `build_always` also adds a target to the set of default targets, this option is marked deprecated in favour of the new option `build_always_stale`. `build_always_stale` *only* marks the target to be always considered out of date, but does *not* add it to the set of default targets. The old behaviour can still be achieved by combining `build_always_stale` with `build_by_default`. fixes #1942
2018-06-18Add UserFeatureOption typeXavier Claessens1-0/+10
This is a special type of option to be passed to most 'required' keyword arguments. It adds a 3rd state to the traditional boolean value to cause those methods to always return not-found even if the dependency could be found. Since integrators doesn't want enabled features to be a surprise there is a global option "auto_features" to enable or disable all automatic features.
2018-06-09configure_file: Add release snippet for encoding keywordSander Sweers1-0/+12
2018-06-08docs: Add release notes for new gnome.gdbus_codegen keywordsRobert Ancell1-0/+14
2018-06-06Add documentation for Builtin options and bitcodeNirbheek Chauhan1-0/+15
Also add a test that ensures that new base options and compiler options are always documented.
2018-06-05docs: Add a release notes snippet about FeatureNewNirbheek Chauhan1-0/+32
2018-06-03Have the windows.resource_compiler() preprocesor write a depfileJon Turney1-0/+3
When using binutils's windres, we can instruct it to invoke the preprocessor in such a way that it writes a depfile, so that dependencies on #included files are automatically tracked. Not implemented for MSVC tools, so skip testing it in that case.
2018-06-03Allow substitutions in custom_target() depfile:Jon Turney1-0/+4
Allow substitutions in custom_target() depfile: as well as in command:
2018-06-02Add release-notes snippet for the extended install_modeFilipe Brandenburger1-0/+8
2018-06-01Add a depend_files: keyword to windows.compile_resources()Jon Turney1-0/+4
Expose depend_files: from the custom_target this creates. This is the change suggested in #2815, with tests and documentation added. Fixes #2789 (duplicate #2830)
2018-06-01configure_file: Add output_format kwarg (#3636)Mathieu Duponchelle1-0/+14
* configure_file: Add output_format kwarg * docs: Reference-manual.md output_format was added in 0.47 [skip ci]
2018-05-30Add check_header to Reference manual and release notes [skip ci]Nirbheek Chauhan1-0/+12
2018-05-23Document octal and binary integer literals in syntax.Filipe Brandenburger1-0/+9
Also add a release notes snippet for it.
2018-05-22Merge pull request #3383 from mesonbuild/nirbheek/configure-file-nodataJussi Pakkanen1-0/+10
configure_file: Add a new action 'copy'
2018-05-22Merge pull request #3490 from MathieuDuponchelle/dict_builtinJussi Pakkanen1-0/+19
Add new built-in type, dict
2018-05-22Add 'check' kwarg for run_commandAndrei Alexeyev1-0/+4
Closes #3516
2018-05-22docs: Add manual entry for configure_file copy kwargNirbheek Chauhan1-0/+10
2018-05-21dict: fix CI issuesMathieu Duponchelle1-2/+2