aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
AgeCommit message (Collapse)AuthorFilesLines
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-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
2018-03-29Removed non-latin characters from lcc snippetmakise-homura1-3/+3
It is supposed that it may become source of failures while passing AppVeyor tests.
2018-03-29pkgconfig: Add a simple version of the generator (#3284)Xavier Claessens1-0/+14
2018-03-28Added lcc support release snippetmakise-homura1-0/+23
2018-03-27Updates to CPP support and update review changesSomasekhar Penugonda1-0/+15
2018-03-25Add test(depends) documentationAleksey Filippov1-0/+5
2018-03-19Add install_data() rename snippetAleksey Filippov1-0/+11
2018-03-14Turn deprecated commands into errors.Jussi Pakkanen1-0/+7
2018-03-13Fix snippet heading to conform to new formatting rules.Jussi Pakkanen1-1/+1
2018-03-12Merge pull request #3131 from sarum9in/pkgconfigJussi Pakkanen1-0/+5
Pkgconfig accepts libraries and pkgconfig-dependencies in requires/requires_private parameters
2018-03-10Refactor: Add log.error and log.exception to reduce code duplication.Jukka Laurila1-0/+5
2018-03-06Merge pull request #3086 from sarum9in/declare-link-wholeJussi Pakkanen1-0/+4
Add declare_dependency() link_whole parameter
2018-03-06Allow passing a compiler object to run_command()Evgenii Shatokhin1-0/+10
Sometimes it is needed to run the current compiler with specific options not to compile a file but rather to obtain additional info. For example, GCC has several -print-* options to query it about the paths to different libraries and development files. One use case is to get the location of development files for GCC plugins, which is not easily obtainable by other means: gcc -print-file-name=plugin For this purpose, it would be convenient if the compiler object returned by meson.get_compiler(lang) could be used in run_command() directly. This commit implements it. Signed-off-by: Evgenii Shatokhin <eshatokhin@virtuozzo.com>
2018-03-06Make "meson help" and "meson help <subcommand>" do the expected thing.Jukka Laurila1-0/+6
2018-03-06Document declare_dependency() link_whole parameterAleksey Filippov1-0/+4
2018-03-06Generate meson.build based on existing source files when meson init is run ↵Jukka Laurila1-0/+19
in a non-empty directory.
2018-03-04Updated information for new release.0.45.0Jussi Pakkanen18-163/+0
2018-02-25Add a release note snippet for the improved test setup selection.Hemmo Nieminen1-0/+16
2018-02-24Document pkgconfig.generate() requires parametersAleksey Filippov1-0/+5
2018-02-25Added release note snippet for csc support.Jussi Pakkanen1-0/+4
2018-02-22Fix Rust compiler-private library ambiguityAdam C. Foltzer1-0/+6
When building a Rust target with Rust library dependencies, an `--extern` argument is now specified to avoid ambiguity between the dependency library, and any crates of the same name in `rustc`'s private sysroot. Includes an illustrative test case.
2018-02-22Allow for missing install_dir in install_data()Peter Hutterer1-0/+5
The documentation doesn't require it and the interpreter code works around the possibility of it being None. The ninja backend code however fails with File "/home/whot/code/meson/mesonbuild/backend/ninjabackend.py", line 796, in generate_data_install dstabs = os.path.join(subdir or None, plain_f) File "/usr/lib64/python3.6/posixpath.py", line 78, in join a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not NoneType If install_dir is missing, default to datadir/projectname
2018-02-08User options can "yield to" a user option of the same name in superproject. ↵Jussi Pakkanen1-0/+8
Closes ##2853.
2018-02-07Expose integer options to build option files.Jussi Pakkanen1-0/+6
2018-02-05Merge pull request #3010 from sarum9in/elide_directoryJussi Pakkanen1-0/+4
Add strip_directory keyword for install_subdir() function