summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
Commit message (Collapse)AuthorAgeFilesLines
* Added documentation to IceStorm module.icestormJussi Pakkanen2018-02-021-0/+12
|
* add meson.project_license() builtinMartin Kelly2018-01-311-0/+4
| | | | This Fixes #2941.
* dependencies: Allow setting config-tool binaries in cross fileDylan Baker2018-01-301-0/+13
| | | | | | | | | | | This allows for much easier cross compiler configuration for tools like LLVM. This patch does honor the 'native' keyword, and falls back to searching PATH if the binary name is not specified. I'd be fine with either removing the fallback behavior, or marking it as deprecated and removing it later. Fixes #2921
* Removed two deprecations from 2016.Jussi Pakkanen2018-01-171-0/+14
|
* Merge pull request #2815 from taisei-project/fix_windows_compile_resourcesJussi Pakkanen2018-01-131-0/+3
|\ | | | | [windows] make compile_resources use custom targets instead of generators
| * Add a release note snippet for the windows.compile_resources() changeAndrei Alexeyev2018-01-121-0/+3
| |
* | Merge pull request #2764 from mesonbuild/generatorpathJussi Pakkanen2018-01-131-0/+21
|\ \ | |/ |/| Generator outputs can have path segments
| * Added documentation.Jussi Pakkanen2017-12-181-0/+21
| |
* | Add unit test that checks that the sample projects compile.initJussi Pakkanen2017-12-311-0/+8
| |
* | Merge pull request #2334 from mesonbuild/promotedepJussi Pakkanen2017-12-261-0/+11
|\ \ | | | | | | Add functionality to promote nested dependencies to top level.
| * | Add functionality to promote nested dependencies to top level.Jussi Pakkanen2017-12-171-0/+11
| |/
* | Allow value 'if-release' for b_ndebug project option. (#1896)Hemmo Nieminen2017-12-171-0/+7
|/ | | | | When set, NDEBUG will be automatically defined for for release builds but not for other build types.
* Updated version number for new release.0.44.0Jussi Pakkanen2017-12-1011-140/+0
|
* Fix typo in release note snippet for get_unquotedJon Turney2017-12-091-2/+2
| | | Grammar is still a bit fractured, but I'm not entirely sure what it's trying to say.
* Merge pull request #2731 from mesonbuild/disablerJussi Pakkanen2017-12-051-0/+33
|\ | | | | Created disabler object type
| * Added documentation for disabler objects.Jussi Pakkanen2017-12-051-0/+33
| |
* | String arguments can permit arbitrary string valuesJussi Pakkanen2017-12-031-2/+3
|/ | | | by leaving out the choices keyword.
* Merge pull request #2390 from dcbaker/submit/options-listJussi Pakkanen2017-12-021-0/+17
|\ | | | | Add an array type to user options
| * Add new array type optionDylan Baker2017-11-291-0/+17
| | | | | | | | | | | | | | 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.
* | cross: Implement support for loading cross files from system pathsDylan Baker2017-11-301-0/+20
|/ | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #2512 from dcbaker/wip/config-tool-variablesJussi Pakkanen2017-11-281-0/+11
|\ | | | | Add method to get values from config tool based dependency
| * docs: add documentation for config_tool variable methodDylan Baker2017-11-231-0/+11
| |
* | Add if_found kwarg to subdir().Jussi Pakkanen2017-11-271-0/+13
|/
* Added release note mention of embedded Python in MSI packages.runpythonJussi Pakkanen2017-11-211-0/+9
|
* Merge pull request #2000 from t-chaik/tchaik/wip/get-unquotedJussi Pakkanen2017-11-131-0/+4
|\ | | | | config data: add .get_unquoted() convenience method to get quoted string unquoted
| * get-unquoted: Queue a release note entry mentioning the new methodMartin Blanchard2017-09-151-0/+4
| |
* | Merge pull request #2511 from jon-turney/prefix-dependent-defaultsJussi Pakkanen2017-11-131-0/+10
|\ \ | | | | | | Make sysconfdir, localstatedir and sharedstatedir defaults depend on prefix
| * | Make sysconfdir, localstatedir and sharedstatedir defaults depend on prefixJon Turney2017-10-281-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than requiring a bit of boilerplate in every meson.build, which is only documented in a comment in mesoncore.py, use sensible defaults for sysconfdir, localstatedir and sharedstatedir depending on the prefix. Fixes #1637 v2: For clarity, give get_builtin_option_default() a noneIfSuppress argument, rather than overloading prefix '' and None with special meanings.
* | | Merge pull request #2444 from dcbaker/llvmJussi Pakkanen2017-11-081-0/+8
|\ \ \ | | | | | | | | LLVM: Fix dynamic vs statically linking.
| * | | docs: Add a snippet for LLVM static linking supportDylan Baker2017-10-251-0/+8
| |/ /
* | | interpreter: Add warning functionPaulo Antonio Alvarez2017-10-311-0/+6
| | |
* | | Qt5-Module: Add `moc_extra_arguments` keyword support.Leif Middelschulte2017-10-251-0/+8
|/ / | | | | | | | | | | This commit adds support for an additional `moc_extra_arguments` keyword. It becomes especially handy, when `moc`-ed sources conditionally provide `slots`, depending on compile time macros (i.e. defines).
* | Collated release note snippets to main file.Jussi Pakkanen2017-10-086-83/+0
| |
* | Merge pull request #2397 from mesonbuild/prebuiltJussi Pakkanen2017-10-021-0/+20
|\ \ | | | | | | Better support for prebuilt shared libs
| * | Add rpath entries for all found libraries outside of system libraries.prebuiltJussi Pakkanen2017-10-021-4/+9
| | |
| * | Added release note snippet for prebuilt shared libs.Jussi Pakkanen2017-09-301-0/+15
| | |
* | | Merge pull request #2373 from leiflm/svn-wrapsJussi Pakkanen2017-10-011-0/+4
|\ \ \ | |/ / |/| | introduce svn wrap support
| * | introduce svn wrap supportLeif Middelschulte2017-09-251-0/+4
| |/
* | Allow CustomTarget's to be indexedDylan Baker2017-09-271-0/+21
|/ | | | | | | | | | | This allows a CustomTarget to be indexed, and the resulting indexed value (a CustomTargetIndex type), to be used as a source in other targets. This will confer a dependency on the original target, but only inserts the source file returning by index the original target's outputs. This can allow a CustomTarget that creates both a header and a code file to have it's outputs split, for example. Fixes #1470
* Permit overriding find_program from the cross file.Jussi Pakkanen2017-09-041-0/+15
|
* Add Compiler.get_supported_arguments()Daniel Stone2017-08-311-0/+23
Add a helper for the common pattern of: args_to_use = [] foreach arg : candidate_args if cc.has_argument(arg) args_to_use += arg endif endforeach Replaced with: args_to_use = cc.get_supported_arguments(candidate_args)