summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
Commit message (Collapse)AuthorAgeFilesLines
...
* mintro: dependencies: added version keyDaniel Mensinger2019-11-141-0/+4
|
* Adding dictionary entry using string variable as key.franczc2019-11-121-0/+17
|
* Created the filesystem module.Jussi Pakkanen2019-11-081-0/+10
|
* dependency('cuda')Aleksey Gurtovoy2019-11-051-0/+11
|
* Minit templates modularizationMichael Hirsch, Ph.D2019-11-021-0/+5
|
* Add option for controlling RTTI.Jussi Pakkanen2019-11-021-0/+3
|
* Add source tags targetsMarc-André Lureau2019-10-221-0/+4
|
* Updated version numbers for 0.52.0 release.0.52.0Jussi Pakkanen2019-10-0625-216/+0
|
* Merge pull request #5953 from mensinda/isystemJussi Pakkanen2019-10-061-0/+11
|\ | | | | Add is_system to dependency
| * Use include_type instead of is_systemDaniel Mensinger2019-10-032-9/+11
| |
| * added docsDaniel Mensinger2019-10-031-0/+9
| |
* | mtest: add gdb_path optionGerion Entrup2019-10-041-0/+9
|/ | | | | | | When using the '--gdb' argument of meson test the executed binary can now be specified with '--gdb-path'. Closing: #4373
* Add clang-tidy target. Closes #2383.Jussi Pakkanen2019-10-011-0/+8
|
* doc: Add release snippet for the rework of static librariesXavier Claessens2019-10-011-0/+34
|
* Add depfile to configure_file()Marc-André Lureau2019-09-301-0/+3
| | | | | | | | | In qemu, minikconf generates a depfile that meson could use to automatically reconfigure on dependency change. Note: someone clever can perhaps find a way to express this with a ninja rule & depfile=. I didn't manage, so I wrote a simple depfile parser.
* Add support for `depth` option in wrap-gitChristoph Weiss2019-09-291-0/+7
| | | | | This allows cloning subprojects shallowly. It works recursively for a subproject's submodules in case `clone-recursive` is set to `true`.
* environment: Support taking values from dictMarc-André Lureau2019-09-291-0/+8
| | | | Related to #5955.
* Moved changes from preliminary relnote page to snippets. [skip ci]Jussi Pakkanen2019-09-292-0/+8
|
* configure_file(): Allow multiple inputs in command modeXavier Claessens2019-09-171-0/+3
| | | | Closes: #5893
* docs: Add a snippet about illumos and Solaris support improvementsDylan Baker2019-09-091-0/+4
|
* docs: add snippet for l_undef on appleDylan Baker2019-08-141-0/+5
| | | | | I didn't really mean to, but in splitting the linkers and compilers I got this all working.
* docs: Add snippet for compiler linker splitDylan Baker2019-08-141-0/+6
|
* Add basic Webassembly support via Emscripten.Jussi Pakkanen2019-08-051-0/+5
|
* Make gettext targets no-ops if gettext is not installed. Closes: #821.Jussi Pakkanen2019-08-041-0/+7
|
* sourceset: add all_dependencies() methodMarc-André Lureau2019-08-041-0/+4
| | | | | | | | | 'if_true' sources should be built with their dependencies, as illustrated by test case change. Ideally, I think we would want only the files with the dependencies to be built with the flags, but that would probably change the way sourceset are used.
* Allow kconfig to read from configure_file()Marc-André Lureau2019-07-311-0/+3
| | | | | | | | At configure time, kconfig can read from configure_file(). "test cases/kconfig/4 load_config builddir/meson.build" was already showing a workaround, now it actually can take configure_file input directly.
* Create multiple different archive types with dist.Jussi Pakkanen2019-07-231-0/+10
|
* Add version check support to find_program()Xavier Claessens2019-07-191-0/+9
| | | | Closes: #1609
* Accept vs_module_defs for modulesMarc-André Lureau2019-07-171-0/+4
| | | | | | Like shared libraries, modules may have vs_module_defs. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
* gtkdoc: Add 'check' kwarg (#5591)Xavier Claessens2019-07-161-0/+11
| | | | | | | | | | | * gtkdoc: Add 'check' kwarg This runs gtkdoc-check in meson tests. Also reorganize the gtkdoc test because we cannot reliably build multiple doc into the same directory. Not all files generated by gtk-doc are prefixed with the target name.
* Add alias_target() functionXavier Claessens2019-07-101-0/+12
|
* `add_{global,project}_{,link_}arguments`: simply native flag behaviorJohn Ericson2019-06-271-0/+16
| | | | | | | | | | | | | | | | | This further simplifies behavior to match the "build vs host" decision we did with `c_args` vs `build_c_args`. The rules are now simply: - `native: true` affects `native: true` targets - `native: false` affects `native: false` targets - No native flag is the same as `native: false` I like this because you don't even have to know what "build" and "host" mean to understand how it works, and it doesn't depend on whether the overall build is cross or not. Fixes #4933
* dependencies/base: Set PKG_CONFIG_SYSROOT_DIR from cross fileDylan Baker2019-06-261-0/+5
| | | | | | | | | | | In some cases it may be necessary to set PKG_CONFIG_SYSROOT_DIR, like when you've mounted a host architecture system in an arbitrary path. Meson will now check the cross files for a [properties]:sys_root variable and set the PKG_CONFIG_SYSROOT_DIR environment variable based on that variable. Fixes #3801 Fixes #4057
* Split attribute visibilityDylan Baker2019-06-251-0/+14
| | | | | | | | | | | | | | | * c_function_attributes: remove 'protected' from 'visibility' This doesn't exist on macos with the apple compiler, which always causes failures. Fixes #5530 * compilers: Add split visibility checks to has_function_attribute These check for a single visibility at a time, rather than all four at once. This allows for finer grained searches, and should make using these checks safer across operating systems.
* only --only option to run_project_tests, add type hints, improve variable ↔Michael Hirsch, Ph.D2019-06-231-0/+10
| | | | name use
* Update things for new release.0.51.0Jussi Pakkanen2019-06-1625-282/+0
|
* modules/python: add a modules keyword argumentDylan Baker2019-06-121-0/+9
| | | | | | This mirrors the modules keyword argument that some dependencies (such as qt and llvm) take. This allows an easier method to determine if modules are installed.
* cmake: updated docsDaniel Mensinger2019-06-061-21/+17
|
* cmake: Added docsDaniel Mensinger2019-06-061-0/+34
|
* Per machine do 'build.' and '' option prefixesJohn Ericson2019-06-051-0/+15
| | | | See the docs/ changes for details.
* interpreter: add fallback argument to subproject.get_variable()Mathieu Duponchelle2019-05-281-0/+13
|
* coredata: add cmake_prefix_path optionDylan Baker2019-05-271-0/+16
|
* new module "sourceset" to match source file lists against configuration dataPaolo Bonzini2019-05-221-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | In QEMU a single set of source files is built against many different configurations in order to generate many executable. Each executable includes a different but overlapping subset of the source files; some of the files are compiled separately for each output, others are compiled just once. Using Makefiles, this is achieved with a complicated mechanism involving a combination of non-recursive and recursive make; Meson can do better, but because there are hundreds of such conditional rules, it's important to keep meson.build files brief and easy to follow. Therefore, this commit adds a new module to satisfy this use case while preserving Meson's declarative nature. Configurations are mapped to a configuration_data object, and a new "source set" object is used to store all the rules, and then retrieve the desired set of sources together with their dependencies. The test case shows how extract_objects can be used to satisfy both cases, i.e. when the object files are shared across targets and when they have to be separate. In the real-world case, a project would use two source set objects for the two cases and then do "executable(..., sources: ... , objects: ...)". The next commit adds such an example.
* Merge pull request #5372 from dcbaker/get_variableJussi Pakkanen2019-05-211-0/+17
|\ | | | | Dependency.get_variable method
| * fixup! tests: Add test for Dependency.get_variableDylan Baker2019-05-201-1/+1
| |
| * docs: Add docs for Dependency.get_variableDylan Baker2019-05-201-0/+17
| |
* | Generators can have extra target dependencies. Closes #4131.Jussi Pakkanen2019-05-201-0/+16
| |
* | docs/markdown: add snippet for intel-cl supportDylan Baker2019-05-131-0/+13
|/
* add support for "target_type: 'shared_module'" in build_target()Daniel Eklöf2019-05-091-0/+16
|
* per-target manual specification of link_languageMichael Hirsch, Ph.D2019-05-021-0/+10
|