aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
AgeCommit message (Collapse)AuthorFilesLines
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
2018-05-20dict: Document, add release snippetMathieu Duponchelle1-0/+19
2018-04-26Merge pull request #3225 from filbranden/fixperms3Jussi Pakkanen1-0/+17
Introduce install_umask to determine permissions of files in install tree. Default it to 022
2018-04-23Updated version number for new release.0.46.0Jussi Pakkanen24-273/+0
2018-04-21Add more tests for multi-line strings and update docsNirbheek Chauhan1-12/+10
2018-04-18extract_all_objects: Add 'recursive' keyword argumentXavier Claessens1-0/+12
To maintain backward compatibility we cannot add recursive objects by default. Print a warning when there are recursive objects to be pulled and the argument is not set. After a while we'll do pull recursive objects by default.
2018-04-18Add release-notes snippet for install_umaskFilipe Brandenburger1-0/+17
2018-04-18Merge pull request #3314 from sarum9in/test_dependsJussi Pakkanen1-0/+5
Add test(depends) keyword parameter
2018-04-17Add partial_dependency method to dependenciesDylan Baker1-0/+25
This adds a new method, partial_dependency to all dependencies. These sub dependencies are copies of the original dependency, but with one or more of the attributes replaced with an empty list. This allows creating a sub dependency that has only cflags or drops link_arguments, for example.
2018-04-17Merge pull request #3243 from dcbaker/accept-d-setupJussi Pakkanen1-0/+6
Accept -D for meson level options durring initial configuration
2018-04-17Merge pull request #3353 from xclaesse/has-link-argumentJussi Pakkanen1-0/+9
Add has_link_argument() and friends
2018-04-17Merge pull request #3240 from MathieuDuponchelle/python_moduleJussi Pakkanen1-0/+6
Implement a generic python module
2018-04-17Merge pull request #1852 from QuLogic/openmpJussi Pakkanen1-0/+6
Add an OpenMP dependency.
2018-04-17mconf: accept -- options like `meson` doesDylan Baker1-4/+4
I'm not really happy about this to be honest, I don't like having both -- and -D options, I think it's stupid to have two ways to do exactly the same thing, especially since we then have to validate that someone hasn't passed the argument both ways. However, other people want this, so here it is. Fixes #969
2018-04-17Accept builtin options with -D when making initial meson callDylan Baker1-0/+6
Currently meson only accepts `-Dopt=value` for builtin options when calling `meson configure` and `--opt=value` for builtin options when calling `meson` initially. This is a confusing behavior, and users only get a small warning at the top of a potentially long configuration summary to catch this. This has confused end users and developers alike, there are at least 5 duplicates of the bug this fixes, and I have personally been asked about this more times than I can count. The help documentation doesn't make it clear that -D cannot be used to set options like prefix and bindir. This adds support for -D options to the initial meson call, but not -- options to the meson configure call. I think it's better to have one way to do things, and -- options are kinda one off while -D is used everywhere else, so lets stick with that. Related #969
2018-04-17Add release snippetNiklas Claesson1-0/+17
2018-04-17Add release note for OpenMP dependency.Elliott Sales de Andrade1-0/+6
2018-04-16Add has_link_argument() and friendsXavier Claessens1-0/+9
Closes: #3335.
2018-04-16Add build snippet for non-unique-target-names featureAleksey Filippov1-0/+9
2018-04-16Merged Arm CC support.Jussi Pakkanen1-0/+15
2018-04-16Merge pull request #3218 from mesonbuild/findoverriderJussi Pakkanen1-0/+37
Make it possible to override find_program [skip ci]
2018-04-15Merge pull request #3115 from makise-homura/e2k-lcc-supportJussi Pakkanen1-0/+23
Support lcc compiler for e2k (Elbrus) architecture
2018-04-15Document that override_find_program works on configure_file [skip ci]Nirbheek Chauhan1-0/+10
Also link to the release notes snippet from the Reference manual
2018-04-15Added documentation [skip ci]Jussi Pakkanen1-0/+27
2018-04-14Improve generation of pkg-config files for static only libraries.Martin Hostettler1-0/+12
Previously pkg-config files generated by the pkgconfig modules for static libraries with dependencies could only be used in a dependencies with `static: true`. This was caused by the dependencies only appearing in Libs.private even if they are needed in the default linking mode. But a user of a dependency should not have to know if the default linking mode is static or dynamic; A dependency('somelib') call should always pull in all needed pieces into the build. Now for meson build static libraries passed via `libraries` to the generate method automatically promote dependencies to public.
2018-04-11Trivial update to meson vim syntax + typo in snippet [skip ci]Nirbheek Chauhan1-1/+1
2018-04-10[fixup]: Fix snippets headingMathieu Duponchelle1-1/+1
2018-04-09[fixup]: write documentationMathieu Duponchelle1-0/+6
2018-04-06new wrap-mode: forcefallbackMathieu Duponchelle1-0/+3
This can be useful to make sure that a project builds when its fallbacks are used on systems where external dependencies satisfy the version requirements, or to easily hack on the sources of a dependency for which a fallback exists.
2018-04-03Add both_libraries() to build both shared and static librariesXavier Claessens1-0/+9
Also support default_library='both' to make library() build both shared and static libraries. Closes #484