summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Accept builtin options with -D when making initial meson callDylan Baker2018-04-171-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
* | | Merge pull request #3353 from xclaesse/has-link-argumentJussi Pakkanen2018-04-171-0/+9
|\ \ \ | | | | | | | | Add has_link_argument() and friends
| * | | Add has_link_argument() and friendsXavier Claessens2018-04-161-0/+9
| | | | | | | | | | | | | | | | Closes: #3335.
* | | | Merge pull request #3240 from MathieuDuponchelle/python_moduleJussi Pakkanen2018-04-171-0/+6
|\ \ \ \ | | | | | | | | | | Implement a generic python module
| * | | | [fixup]: Fix snippets headingMathieu Duponchelle2018-04-101-1/+1
| | | | |
| * | | | [fixup]: write documentationMathieu Duponchelle2018-04-091-0/+6
| | | | |
* | | | | Merge pull request #1852 from QuLogic/openmpJussi Pakkanen2018-04-171-0/+6
|\ \ \ \ \ | |_|_|/ / |/| | | | Add an OpenMP dependency.
| * | | | Add release note for OpenMP dependency.Elliott Sales de Andrade2018-04-171-0/+6
| | |/ / | |/| |
* | | | Add release snippetNiklas Claesson2018-04-171-0/+17
|/ / /
* | | Add build snippet for non-unique-target-names featureAleksey Filippov2018-04-161-0/+9
| | |
* | | Merged Arm CC support.Jussi Pakkanen2018-04-161-0/+15
|\ \ \
| * | | Updates to CPP support and update review changesSomasekhar Penugonda2018-03-271-0/+15
| | | |
* | | | Merge pull request #3218 from mesonbuild/findoverriderJussi Pakkanen2018-04-161-0/+37
|\ \ \ \ | | | | | | | | | | Make it possible to override find_program [skip ci]
| * | | | Document that override_find_program works on configure_file [skip ci]Nirbheek Chauhan2018-04-151-0/+10
| | | | | | | | | | | | | | | | | | | | Also link to the release notes snippet from the Reference manual
| * | | | Added documentation [skip ci]Jussi Pakkanen2018-04-151-0/+27
| | | | |
* | | | | Merge pull request #3115 from makise-homura/e2k-lcc-supportJussi Pakkanen2018-04-151-0/+23
|\ \ \ \ \ | |/ / / / |/| | | | Support lcc compiler for e2k (Elbrus) architecture
| * | | | Removed non-latin characters from lcc snippetmakise-homura2018-03-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | It is supposed that it may become source of failures while passing AppVeyor tests.
| * | | | Added lcc support release snippetmakise-homura2018-03-281-0/+23
| | | | |
* | | | | Improve generation of pkg-config files for static only libraries.Martin Hostettler2018-04-141-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.
* | | | | Trivial update to meson vim syntax + typo in snippet [skip ci]Nirbheek Chauhan2018-04-111-1/+1
| | | | |
* | | | | new wrap-mode: forcefallbackMathieu Duponchelle2018-04-061-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.
* | | | Add both_libraries() to build both shared and static librariesXavier Claessens2018-04-031-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also support default_library='both' to make library() build both shared and static libraries. Closes #484
* | | | pkgconfig: Add a simple version of the generator (#3284)Xavier Claessens2018-03-291-0/+14
| |_|/ |/| |
* | | Add install_data() rename snippetAleksey Filippov2018-03-191-0/+11
| | |
* | | Turn deprecated commands into errors.Jussi Pakkanen2018-03-141-0/+7
| | |
* | | Fix snippet heading to conform to new formatting rules.Jussi Pakkanen2018-03-131-1/+1
| | |
* | | Merge pull request #3131 from sarum9in/pkgconfigJussi Pakkanen2018-03-121-0/+5
|\ \ \ | | | | | | | | Pkgconfig accepts libraries and pkgconfig-dependencies in requires/requires_private parameters
| * | | Document pkgconfig.generate() requires parametersAleksey Filippov2018-02-241-0/+5
| | | |
* | | | Refactor: Add log.error and log.exception to reduce code duplication.Jukka Laurila2018-03-101-0/+5
| | | |
* | | | Merge pull request #3086 from sarum9in/declare-link-wholeJussi Pakkanen2018-03-061-0/+4
|\ \ \ \ | | | | | | | | | | Add declare_dependency() link_whole parameter
| * | | | Document declare_dependency() link_whole parameterAleksey Filippov2018-03-061-0/+4
| | |_|/ | |/| |
* | | | Allow passing a compiler object to run_command()Evgenii Shatokhin2018-03-061-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>
* | | | Make "meson help" and "meson help <subcommand>" do the expected thing.Jukka Laurila2018-03-061-0/+6
|/ / /
* | | Generate meson.build based on existing source files when meson init is run ↵Jukka Laurila2018-03-061-0/+19
| | | | | | | | | | | | in a non-empty directory.
* | | Updated information for new release.0.45.0Jussi Pakkanen2018-03-0418-163/+0
| | |
* | | Add a release note snippet for the improved test setup selection.Hemmo Nieminen2018-02-251-0/+16
| | |
* | | Added release note snippet for csc support.Jussi Pakkanen2018-02-251-0/+4
|/ /
* | Fix Rust compiler-private library ambiguityAdam C. Foltzer2018-02-221-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.
* | Allow for missing install_dir in install_data()Peter Hutterer2018-02-221-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
* User options can "yield to" a user option of the same name in superproject. ↵Jussi Pakkanen2018-02-081-0/+8
| | | | Closes ##2853.
* Expose integer options to build option files.Jussi Pakkanen2018-02-071-0/+6
|
* Merge pull request #3010 from sarum9in/elide_directoryJussi Pakkanen2018-02-051-0/+4
|\ | | | | Add strip_directory keyword for install_subdir() function
| * Rename install_subdir() option elide_directory to strip_directoryAleksey Filippov2018-02-052-4/+4
| |
| * Add elide_directory keyword for install_subdir() functionAleksey Filippov2018-02-051-0/+4
| | | | | | | | | | | | | | If elide_directory=true install_subdir() installs directory contents instead of directory itself, eliding name of the source directory. Closes #2869.
* | Add support for hex int literals.Jussi Pakkanen2018-02-051-0/+5
|/
* Merge pull request #2938 from acfoltzer/rust-cross-mergeJussi Pakkanen2018-02-041-0/+16
|\ | | | | Add cross-compilation support for `rustc`
| * Add cross-compilation support for `rustc`Adam C. Foltzer2018-01-291-0/+16
| | | | | | | | | | | | This patch is largely modeled on the relatively-straightforward code for Fortran cross-compilation, so there might be some intricacies missing.
* | 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