summaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
AgeCommit message (Collapse)Author
2019-07-10Add alias_target() functionXavier Claessens
2019-07-05Document that add_languages() returns a boolean [skip ci] (#5600)Xavier Claessens
2019-06-19Reference-manual.md:add missing equal sign in "both_libraries" sectionandy5995
[skip ci]
2019-06-10docs: compiler objects are returned [skip ci]Dylan Baker
Not a series problem, but annoys me that that it's in the builtin section when it's a returned object.
2019-06-10Rewrap some doc lines. [skip ci]Jussi Pakkanen
2019-06-06cmake: updated docsDaniel Mensinger
2019-06-06cmake: rebase fixesDaniel Mensinger
2019-06-06cmake: Added docsDaniel Mensinger
2019-05-28interpreter: add fallback argument to subproject.get_variable()Mathieu Duponchelle
2019-05-22join_paths => / [skip ci]Michael Hirsch, Ph.D
2019-05-21Merge pull request #5372 from dcbaker/get_variableJussi Pakkanen
Dependency.get_variable method
2019-05-20Generators can have extra target dependencies. Closes #4131.Jussi Pakkanen
2019-05-20docs: Add docs for Dependency.get_variableDylan Baker
2019-05-09add support for "target_type: 'shared_module'" in build_target()Daniel Eklöf
2019-05-02per-target manual specification of link_languageMichael Hirsch, Ph.D
2019-04-16Add VS2019 backend CI and docs.Anton Kochkov
2019-04-15(#5260) link to builtin options in `library()` fnKeefer Rourke
As a newcomer to the Meson build system, I found the documentation of the `library()` function to be a bit misleading. Eventually I found what 'user option' referred to after digging through the docs. This just adds a link back to the page that describes the options that are referred to in this paragraph.
2019-04-10docs: Change 0.51 to 0.50.1 [skip ci]Dylan Baker
Since this is targeting the 0.50.1 bugfix release.
2019-04-01Merge pull request #5103 from mesonbuild/linkcustomJussi Pakkanen
Can link against custom targets
2019-03-30docs: Document when environment() was added (#5178) [skip ci]Jonatan Pålsson
The environment() function was added in 0.35.0 (which contains a2e7ebc5, containing the actual addition)
2019-03-29dependencies/base: Pass correct arguments to subdependenciesDylan Baker
Currently InternalDependency.get_partial_dependency shadows the the input variables names, and then passes those new copies to the final object returned. It also passes them to the arguments of of get_partial_dependency for each subdependency, which is wrong. The code is supposed to proxy the original argumetn values to that instead of the shadowing values. To avoid that this patch renames the new values.
2019-03-28Add documentation.Jussi Pakkanen
2019-03-18Add test script to generate a static library with a custom target.Jussi Pakkanen
2019-03-11Add static as keyword to find_libraryNiklas Claesson
2019-03-02mtest: implement TAP parsingPaolo Bonzini
This provides an initial support for parsing TAP output. It detects failures and skipped tests without relying on exit code, as well as early termination of the test due to an error or a crash. For now, subtests are not recorded in the TestRun object. However, because the TAP output goes on stdout, it is printed by --print-errorlogs when a test does not behave as expected. Handling subtests as TestRuns, and serializing them to JSON, can be added later. The parser was written specifically for Meson, and comes with its own test suite. Fixes #2923.
2019-03-02interpreter: add "protocol" kwarg to testPaolo Bonzini
This is the first step towards adding support for TAP.
2019-02-25docs: compiled() only works with compiler.run() results [skip ci]emersion
2019-02-19Clarify in docs the argument types extract_objects() accepts [skip ci]Maarten ter Huurne
2019-02-18use compile_args instead of compiler_args [skip ci]Jonathan Poelen
2019-01-27run_command: add env kwargJan Tojnar
2019-01-17custom_target: do not let install override build_by_defaultLuca Boccassi
A custom_target, if install is set to true, will always be built by default even if build_by_default is explicitly set to false. Ensure that this does not happen if it's set explicitly. To keep backward compatibility, if build_by_default is not set explicitly and install is true, set build_by_default to true. Fixes #4107
2019-01-13interpreter: obey to the install argument in configure_fileMarco Trevisan (Treviño)
If a configure_file has an install_dir set, the supported install argument is ignored, while this should have actually higher priority than the install_dir itself. Also check that correct types are used for `install` and `install_dir`. Add test to verify this. Fixes #3983
2019-01-09Added Rust to supported languages for project() (#4750) [skip ci]Ethan R
2019-01-07docs: document the native keyword argument for reference-manule [skip ci]Dylan Baker
2019-01-02Can use plain strings for include_directories.Jussi Pakkanen
2018-12-27find_library: Add 'has_headers' kwargXavier Claessens
A library without its headers is often useless, so it is common to check them together.
2018-12-24Add 'required' kwarg in header check functionsXavier Claessens
Closes: #3940
2018-12-22Can specify a string to print when dep not found. Closes #2407.Jussi Pakkanen
2018-12-19docs: Add warning about not using join_paths() with build targets [skip ci]Dylan Baker
This comes up now and again when people try do do something like: meson.build: ```meson my_sources = ['foo.c'] subdir('subdir') executable('foo', my_sources) ``` subdir/meson.build: ```meson my_sources += ['bar.c'] ```
2018-12-17Document dependency().name() added in 0.48 [skip ci]Nirbheek Chauhan
Closes https://github.com/mesonbuild/meson/issues/3351
2018-12-16Add note for install_man in Reference-manual [skip ci]Lzu Tao
2018-12-10docs: build_always_stale was added in 0.47 [skip ci]Simon Arlott
2018-12-05docs: Misc syntax fixes and missing links [skip ci]Nirbheek Chauhan
2018-12-05docs: Document subproject(... required: false) [skip ci]Nirbheek Chauhan
Somehow this was missed in the original PR #3885
2018-12-05Document how to declare fallback-only dependencies [skip ci]Nirbheek Chauhan
2018-11-22CMake find_package dependency backend (#4444)Daniel Mensinger
2018-11-12Add kwarg is_default to add_test_setup()Stian Selnes
is_default may be used to set the name of the test setup that will be used by default whenever the option --setup is not given. Fixes #4430
2018-11-03Add new compiler.get_argument_syntax methodDylan Baker
Some compilers try very had to pretend they're another compiler (ICC pretends to be GCC and Linux and MacOS, and MSVC on windows), Clang behaves much like GCC, but now also has clang-cl, which behaves like MSVC. This method provides an easy way to determine whether testing for MSVC like arguments `/w1234` or gcc like arguments `-Wfoo` are likely to succeed, without having to check for dozens of compilers and the host operating system, (as you would otherwise have to do with ICC).
2018-11-02Make string division do path joining.Jussi Pakkanen
2018-10-27docs: Fix gcc attribute list link [skip ci]Nirbheek Chauhan