aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
AgeCommit message (Collapse)AuthorFilesLines
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
2018-02-05Add support for hex int literals.Jussi Pakkanen1-0/+5
2018-02-05Rename install_subdir() option elide_directory to strip_directoryAleksey Filippov2-4/+4
2018-02-05Add elide_directory keyword for install_subdir() functionAleksey Filippov1-0/+4
If elide_directory=true install_subdir() installs directory contents instead of directory itself, eliding name of the source directory. Closes #2869.
2018-02-04Merge pull request #2938 from acfoltzer/rust-cross-mergeJussi Pakkanen1-0/+16
Add cross-compilation support for `rustc`
2018-02-02Added documentation to IceStorm module.Jussi Pakkanen1-0/+12
2018-01-31add meson.project_license() builtinMartin Kelly1-0/+4
This Fixes #2941.
2018-01-29Add cross-compilation support for `rustc`Adam C. Foltzer1-0/+16
This patch is largely modeled on the relatively-straightforward code for Fortran cross-compilation, so there might be some intricacies missing.
2018-01-30dependencies: Allow setting config-tool binaries in cross fileDylan Baker1-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
2018-01-17Removed two deprecations from 2016.Jussi Pakkanen1-0/+14
2018-01-13Merge pull request #2815 from taisei-project/fix_windows_compile_resourcesJussi Pakkanen1-0/+3
[windows] make compile_resources use custom targets instead of generators
2018-01-13Merge pull request #2764 from mesonbuild/generatorpathJussi Pakkanen1-0/+21
Generator outputs can have path segments
2018-01-12Add a release note snippet for the windows.compile_resources() changeAndrei Alexeyev1-0/+3
2017-12-31Add unit test that checks that the sample projects compile.Jussi Pakkanen1-0/+8
2017-12-26Merge pull request #2334 from mesonbuild/promotedepJussi Pakkanen1-0/+11
Add functionality to promote nested dependencies to top level.
2017-12-18Added documentation.Jussi Pakkanen1-0/+21
2017-12-17Add functionality to promote nested dependencies to top level.Jussi Pakkanen1-0/+11
2017-12-17Allow value 'if-release' for b_ndebug project option. (#1896)Hemmo Nieminen1-0/+7
When set, NDEBUG will be automatically defined for for release builds but not for other build types.
2017-12-10Updated version number for new release.0.44.0Jussi Pakkanen11-140/+0
2017-12-09Fix typo in release note snippet for get_unquotedJon Turney1-2/+2
Grammar is still a bit fractured, but I'm not entirely sure what it's trying to say.
2017-12-05Merge pull request #2731 from mesonbuild/disablerJussi Pakkanen1-0/+33
Created disabler object type
2017-12-05Added documentation for disabler objects.Jussi Pakkanen1-0/+33
2017-12-03String arguments can permit arbitrary string valuesJussi Pakkanen1-2/+3
by leaving out the choices keyword.
2017-12-02Merge pull request #2390 from dcbaker/submit/options-listJussi Pakkanen1-0/+17
Add an array type to user options
2017-11-30cross: Implement support for loading cross files from system pathsDylan Baker1-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
2017-11-29Add new array type optionDylan Baker1-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.
2017-11-28Merge pull request #2512 from dcbaker/wip/config-tool-variablesJussi Pakkanen1-0/+11
Add method to get values from config tool based dependency
2017-11-27Add if_found kwarg to subdir().Jussi Pakkanen1-0/+13
2017-11-23docs: add documentation for config_tool variable methodDylan Baker1-0/+11
2017-11-21Added release note mention of embedded Python in MSI packages.Jussi Pakkanen1-0/+9
2017-11-13Merge pull request #2000 from t-chaik/tchaik/wip/get-unquotedJussi Pakkanen1-0/+4
config data: add .get_unquoted() convenience method to get quoted string unquoted
2017-11-13Merge pull request #2511 from jon-turney/prefix-dependent-defaultsJussi Pakkanen1-0/+10
Make sysconfdir, localstatedir and sharedstatedir defaults depend on prefix
2017-11-08Merge pull request #2444 from dcbaker/llvmJussi Pakkanen1-0/+8
LLVM: Fix dynamic vs statically linking.
2017-10-31interpreter: Add warning functionPaulo Antonio Alvarez1-0/+6
2017-10-28Make sysconfdir, localstatedir and sharedstatedir defaults depend on prefixJon Turney1-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.
2017-10-25Qt5-Module: Add `moc_extra_arguments` keyword support.Leif Middelschulte1-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).
2017-10-25docs: Add a snippet for LLVM static linking supportDylan Baker1-0/+8
2017-10-08Collated release note snippets to main file.Jussi Pakkanen6-83/+0
2017-10-02Merge pull request #2397 from mesonbuild/prebuiltJussi Pakkanen1-0/+20
Better support for prebuilt shared libs
2017-10-02Add rpath entries for all found libraries outside of system libraries.Jussi Pakkanen1-4/+9
2017-10-01Merge pull request #2373 from leiflm/svn-wrapsJussi Pakkanen1-0/+4
introduce svn wrap support
2017-09-30Added release note snippet for prebuilt shared libs.Jussi Pakkanen1-0/+15
2017-09-27Allow CustomTarget's to be indexedDylan Baker1-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
2017-09-25introduce svn wrap supportLeif Middelschulte1-0/+4
2017-09-15get-unquoted: Queue a release note entry mentioning the new methodMartin Blanchard1-0/+4
2017-09-04Permit overriding find_program from the cross file.Jussi Pakkanen1-0/+15
2017-08-31Add Compiler.get_supported_arguments()Daniel Stone1-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)