summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #6688 from dcbaker/emcc-linker-bugsJussi Pakkanen2020-03-082-0/+11
|\ \ | | | | | | Emcc linker bugs and improvments
| * | compilers/linkers: Add a representation for wasm-ldDylan Baker2020-02-271-0/+5
| | | | | | | | | | | | | | | | | | | | | Emscripten does have a stand alone linker, wasm-ld. This patch adds the linker, adds detection for the linker, and removes the IsLinkerMixin for emscripten. This is a little more correct, and makes the code a lot cleaner and more robust.
| * | compilers/mixins/emscripten: Implement thread supportDylan Baker2020-02-271-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Emscripten has pthread support (as well as C++ threads), but we don't currently implement them. This fixes that by adding the necessary code. The one thing I'm not sure about is setting the pool size. The docs suggest that you really want to do this to ensure that your code works correctly, but the number should really be configurable, not sure how to set that. Fixes #6684
* | | qt5: Add has_tools() methodXavier Claessens2020-03-081-0/+10
| | |
* | | Simplify dependency() fallbackXavier Claessens2020-03-061-0/+6
| | | | | | | | | | | | | | | Now that subprojects can override the dependency name, there is no need to provide a variable name for the fallback any more.
* | | Add meson.override_dependency()Xavier Claessens2020-03-061-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to meson.override_find_program() but overrides the result of the dependency() function. Also ensure that dependency() always returns the same result when looking for the same dependency, this fixes cases where parts of the project could be using a system library and other parts use the library provided by a subproject.
* | | mesonbuild: Add mcompile commandDylan Baker2020-03-041-0/+21
| | | | | | | | | | | | | | | | | | | | | This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes #6670
* | | interpreter: add 'name' method to BuildTargetHolderStéphane Cerveau2020-03-041-0/+2
| | | | | | | | | | | | | | | | | | | | | As any child of BuildTargetHolder might need the name of the object, provides a method to get object name. This is useful in gst-build to display the plugin name and not the filename.
* | | add -C to meson initMichael2020-03-021-0/+5
| | |
* | | Merge pull request #6692 from xclaesse/summary-warningsJussi Pakkanen2020-03-011-0/+8
|\ \ \ | | | | | | | | Summary improvements
| * | | summary: Add more info in Subprojects sectionXavier Claessens2020-02-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a warnings counter for subprojects that passed. This is to encourage developpers to check warnings in the logs and hopefully fix them. Otherwise they could be hidden in hundreds lines of logs. This also print the error message for subprojects that did not pass. The error message is often enough to fix the issue (e.g. missing dependency) and it's easier than searching in the logs why a subproject failed.
| * | | summary: Add list_sep keyword argumentXavier Claessens2020-02-261-0/+5
| |/ / | | | | | | | | | | | | This allows having lists on a single line instead of having each value aligned on a new line.
* | | Add release note snippetJon Turney2020-02-281-0/+9
|/ /
* | Typo fix. [skip ci]Jussi Pakkanen2020-02-251-1/+1
| |
* | Document the project policy on mixing build systems. [skip ci]Jussi Pakkanen2020-02-251-0/+3
| |
* | Merge pull request #6637 from ↔Jussi Pakkanen2020-02-231-0/+10
|\ \ | | | | | | | | | | | | mesonbuild/nirbheek/implement-symbolextractor-windows Implement symbolextractor on windows + some cleanups/fixes
| * | ninjabackend: List PDBs in output list for targetsNirbheek Chauhan2020-02-221-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is more correct, and forces the target(s) to be rebuilt if the PDB files are missing. Increases the minimum required Ninja to 1.7, which is available in Ubuntu 16.04 under backports. We can't do the same for import libraries, because it is impossible for us to know at configure time whether or not an import library will be generated for a given DLL.
* | | Introduce dataonly for the pkgconfig moduleRohan Garg2020-02-201-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows users to disable writing out the inbuilt variables to the pkg-config file as they might actualy not be required. One reason to have this is for architecture-independent pkg-config files in projects which also have architecture-dependent outputs. For example : https://gitlab.freedesktop.org/wayland/weston/issues/269 Fixes #4011
* | | minstall: Add a new option --quietNirbheek Chauhan2020-02-171-0/+11
|/ / | | | | | | | | | | | | | | | | | | | | | | | | This is a significant speed-up on Windows because terminals are slow to print things out. Speed-up in gst-build on Windows: ``` meson install: before: 5.1 seconds after: 4.0 seconds ```
* | Add unity block size option.Jussi Pakkanen2020-02-121-0/+12
|/
* Merge pull request #6421 from dcbaker/zlib-system-depJussi Pakkanen2020-02-071-0/+8
|\ | | | | Add a "system" dependency for zlib
| * docs: Add snippet for zlib system dependencyDylan Baker2020-01-311-0/+8
| |
* | Make 'default_library' per-subproject builtin optionXavier Claessens2020-02-061-0/+15
| | | | | | | | | | | | | | | | | | | | Currently it's just like if all builtin/base/compiler options are yielding. This patch makes possible to have non-yielding builtin options. The value in is overriden in this order: - Value from parent project - Value from subproject's default_options if set - Value from subproject() default_options if set - Value from command line if set
* | docMichael Hirsch, Ph.D2020-02-051-2/+2
| |
* | add get_external_property to replace get_cross_propertyMichael Hirsch, Ph.D2020-02-051-3/+5
| |
* | add meson.get_native_property for native filesMichael Hirsch, Ph.D2020-02-051-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows Meson native-file [properties] to be used. This avoids the need to call meson from a script file or have a long command line invocation of `meson setup` The method meson.get_native_property('prop', 'fallback') is added. The native file can contain properties like ``` [properties] myprop1 = 'foo' mydir2 = 'lib/custom' ``` Then from within `meson.build` ```meson x1 = meson.get_native_property('myprop1') thedir = meson.get_native_property('mydir2', 'libs') ``` fallback values are optional
* | Merge pull request #6573 from michaelbadcrumble/add_sample_templatesJussi Pakkanen2020-02-051-0/+6
|\ \ | | | | | | Add new Meson sample templates
| * | add feature noteMichael2020-02-021-0/+6
| |/
* | pkgconfig: Generate -uninstalled.pc filesXavier Claessens2020-02-051-0/+8
|/ | | | Closes: #3472.
* Tell contributors not to write things in the snippet help file. [skip ci]Jussi Pakkanen2020-01-271-3/+3
|
* Only provide 64 bit MSIs going forward. [skip ci]Jussi Pakkanen2020-01-271-0/+7
|
* Support multiple args to message() and warning()Xavier Claessens2020-01-261-0/+4
|
* envconfig: add pkg_config_libdir propertyStéphane Cerveau2020-01-221-0/+3
| | | | | In order to unify the use of sysroot in the cross-file, the pkg_config_libdir can now be passed directly in the file.
* Prepare new release.0.53.0Jussi Pakkanen2020-01-0716-170/+0
|
* cmake: Fix obeject librariesDaniel Mensinger2019-12-221-0/+11
| | | | | | | This fixes an issue with generated sources and object libraries, as well as an issue on windows with the `link` linker and the vs backend. The last issue is resolved by building the source files multiple times to avoid extracting object files in meson.
* summary: Change 'section' to be a kwarg instead of positionalXavier Claessens2019-12-191-9/+9
| | | | Fixes: #6372.
* add compiler.get_linker_id() methodMichael Hirsch, Ph.D2019-12-191-0/+5
| | | | | | | | | | | | | | | this can be useful for if/elif where linker behaviors must be considered. For example, clang with "link" vs gcc with "ld.bfd" etc. ci for compiler.get_linker_id() method doc add @FeatureNew check Co-Authored-By: Daniel Mensinger <daniel@mensinger-ka.de>
* python: add embed to the python dependency functionDaniel Mensinger2019-12-181-0/+4
|
* Merge pull request #4649 from dcbaker/summary-functionJussi Pakkanen2019-12-181-0/+37
|\ | | | | Add a summary() function for configuration summarization
| * Add a summary() function for configuration summarizationXavier Claessens2019-12-121-0/+37
| | | | | | | | | | | | Based on patch from Dylan Baker. Fixes #757
* | mintro: include test protocol in introspection dataPaolo Bonzini2019-12-131-0/+4
|/
* Merge pull request #6207 from dcbaker/linker-optionJussi Pakkanen2019-12-111-0/+17
|\ | | | | Add a way to select the dynamic linker meson uses
| * Allow selecting the dynamic linkerDylan Baker2019-12-021-0/+17
| | | | | | | | | | | | | | This uses the normal meson mechanisms, an LD environment variable or via cross/native files. Fixes: #6057
* | mintro: Add version key to --scan-dependencies (fixes #6287)Daniel Mensinger2019-12-101-0/+3
| |
* | dist: Add --include-subprojects optionXavier Claessens2019-12-081-0/+6
| |
* | Merge pull request #6228 from scivision/scalapackJussi Pakkanen2019-12-071-0/+14
|\ \ | | | | | | deps: add Scalapack
| * | deps: add scalapackMichael Hirsch, Ph.D2019-11-301-0/+14
| |/ | | | | | | | | | | | | | | | | | | | | | | Scalapack uses a library stack that can be challenging to manage. Not least of all since many Scalapacks ship with broken / incomplete pkg-config files and CMake FindScalapack.cmake This resolves those issues for typical Scalapack setups including: * Linux: Intel MKL or OpenMPI + Netlib * MacOS: Intel MKL or OpenMPI + Netlib * Windows: Intel MKL (OpenMPI not available on Windows)
* | find_program(): Add 'dirs' keyword argumentXavier Claessens2019-12-051-0/+9
| | | | | | | | Fixes: #1576
* | dict: Fully evaluate keysXavier Claessens2019-12-041-14/+6
|/ | | | | The only restriction is keys must be string after evaluation. This fix various inconsistencies.
* complete gfortran/intel/intel-cl fortran_std testMichael Hirsch, Ph.D2019-11-251-0/+14
|