summaryrefslogtreecommitdiff
path: root/docs/markdown/Dependencies.md
AgeCommit message (Collapse)Author
2025-12-11MPI detection: support Intel MPI on WindowsLisandro Dalcin
Co-authored-by: Dylan Baker <dylan@pnwbakers.com>
2025-10-20docs: Document that Cuda doesn't honor the `prefer_static` optionDylan Baker
2025-01-20Alphabetize the Docs on DependenciesKevin Meagher
Persumably this list of was supposed to be alphabetized, but a few of the items were out of order. This confused me because I was looking for numpy, got the the Os and thought it wasn't there.
2024-12-29dependencies: add custom atomic dependencyDudemanguy
Almost exactly the same as how the dl dependency works. On certain systems (like BSDs that use clang), stdatomic is provided by compiler-rt and doesn't need a separate library explictly linked. On a typical GNU/LINUX system, atomic is a separate library that must be explictly found and linked against. So just add a builtin and system method for these two use cases.
2024-09-21add descriptionunknown
2024-09-21Document get_variable(system)unknown
2024-09-03fix a typoyehor
2024-04-28Add support for depending on ObjFWJonathan Schleifer
This uses objfw-config to get to the flags, however, there's still several todos that can only be addressed once dependencies can have per-language flags.
2024-02-14docs: Remove outdated HDF5 dependency pkg-config statementJouke Witteveen
A config-tool method has been supported since c02593f and it says so just a few lines below the outdated statement.
2024-02-06Add a numpy dependency with pkg-config and configtool methodsRalf Gommers
These are being added for NumPy 2.0 The implementation closely follows the one for the pybind11 dependency.
2024-01-01docs: Rename Qt4 & Qt5 in Dependencies to QtChris Mayo
2023-06-08Fix name of boost_includedir propertySébastien Villemot
2023-04-24dependencies: allow to fallback on CMake to find the SDL2 libraryMatthieu Bouron
On Windows, the SDL2 library is generally provided with only CMake config files. This commit allows meson to fallback on CMake as a last resort to find the SDL2 library.
2023-04-11Fix spelling and grammar in Dependencies.mdPete Dietl
2023-03-09dependencies: add pybind11 custom factoryEli Schwartz
This works with pkg-config and cmake without any special support. The custom factory adds further support for config-tool, via `pybind11-config`. This is useful because the config-tool will work out of the box when pybind11 is installed, but the pkg-config and cmake files are shoved into python's site-packages, which is an unfortunate distribution model and makes it impossible to use in an out of the box manner. It's possible to manually set up the PKG_CONFIG_PATH to detect it anyway, but in case that does not happen, having the config-tool fallback is extremely useful.
2022-11-10fix typoGuilherme Janczak
2022-10-24Add missing since annotations in docsElliott Sales de Andrade
This is based on searching for `@FeatureNew*` decorators. There is also one correction to a version in a decorators; `build_by_default` was added in #1303, which is 0.38.0, not 0.40.0.
2022-10-23Fix typos in docsElliott Sales de Andrade
2022-08-16docs: fix various references to "meson builddir"Eli Schwartz
This is wrong, it should use "meson setup builddir".
2022-06-29docs: update various function references to be linkifiedEli Schwartz
2022-04-27Add small note that get_variable can publicize its data filesEli Schwartz
Nothing elaborate, just laying down the ground rules for expected usage and pointing out that it now works. The idea is not to give people ideas, but to let projects which already have this use case, use it with confidence.
2022-03-07docs: add forgotten documentation for the new openssl dependencyEli Schwartz
2022-03-04Add modules kwarg to JNI system depTristan Partin
This allows someone to link against libjvm.so and libjawt.so.
2022-03-02Rename JDK system dep to JNITristan Partin
JNI is a more apt name because it currently only supports the JNI. I also believe that CMake uses the terminology JNI here as well. JNI is currently the only way to interact with the JVM through native code, but there is a project called "Project Panama" which aims to be another way for native code to interact with the JVM.
2022-02-28docs: correct the shaderc documentationDudemanguy
The documentation on how shaderc is checked in meson was quite behind. Update it to mention that pkg-config is the default and preferred method of checking. Also be specific about what order everything is checked in since shaderc is confusing.
2022-02-01new custom dependency lookup for libdlAndrew Krasavin
2022-01-26Add docs for JDK system dependencyTristan Partin
For whatever reason, the original PR was merged without documentation.
2021-11-15dependencies/zlib: Add system zlib method for androidDudemanguy
The same method that the BSDs use should also work for android. Also update the tests and docs where appropriate.
2021-10-10Fix typos discovered by codespellChristian Clauss
2021-09-12new custom dependency lookup for iconvEli Schwartz
Also internally needed by intl, so add that as a proxied dependency instead of coding it manually.
2021-07-27doc: mention CUDA_PATH in dependency('cuda') [skip ci]David Seifert
2021-07-04Consistently capitialize 'Meson' in Dependencies.mdJon Turney
Consistently capitialize 'Meson' where used as a proper name in Dependencies.md.
2021-07-03Improve text for dependency detection methodsJon Turney
Make it clear that search order for 'auto' there only applies to generic dependency names. Drop 'system' from that list, as it's not actually used for generic dependencies (nor is it defined what it would do).
2021-06-30Alphabetize dependency names with special lookupJon Turney
2021-06-30Move 'builtin', 'config-tool' and 'system' methods to discussion of methodsJon Turney
2021-06-17intl custom dependencyEli Schwartz
Checking how to aquire the *gettext family of symbols portably is annoyingly complex, and may come from the libc, or standalone. builtin dependency: This detects if libintl is unneeded, because the *gettext family of symbols is available in the libc. system dependency: This detects if libintl is installed as separate software, linkable via -lintl; unfortunately, GNU gettext does not ship pkg-config files for it. Fixes #3929
2021-06-10markdown/Dependencies:remove tabsandy5995
Remove tabs introduced by https://github.com/mesonbuild/meson/pull/8866
2021-06-11add example for defining curses preprocessor symbolsAndy Alt
2021-03-09docs: add a couple words about system dependenciesDylan Baker
2021-01-31Capitalize "Meson" consistently as it is a proper name. [skip ci]Jussi Pakkanen
2021-01-30Rewrap long text lines in docs. [skip ci]Jussi Pakkanen
2020-11-21Handle cmake dependencies which require a specified versionJason Ekstrand
Some CMake packages fail to find at all if no version is specified. This commit adds a cmake_version parameter to dependency() to allow you to specify the requested version.
2020-09-29dependencies/curses: Add a system dependencyDylan Baker
That calls find_library and has_header in conjunction to look for curses implementations that are baked into the system without any other find method.
2020-09-29dependencies/curses: Add support for using the ncurses config toolsDylan Baker
These are mostly duplicated with pkg-config, but maybe someone has one but not another, and they're easy to turn on with the ConfigToolDependency.
2020-09-29docs/Dependencies Add missing curses documentationDylan Baker
2020-09-25dependencies/hdf5: Convert to a dependency_factoryDylan Baker
Instead of a mega dependency that does everything, use a dependency factory for config-tool and pkg-config
2020-07-21Add boost_root support to properties files (#7210)cmcneish
* Add boost_root support to properties files This commit implements `boost_root`, `boost_includedir`, and `boost_librarydir` variable support to native and cross properties files. The search order is currently environment variables, then these variables, and finally a platform-dependent search. * Add preliminary boost_root / boost_includedir tests Each test contains a fake "version.hpp", as that's how boost detection is currently being done. We look for this file relative to the root directory, which probably shouldn't be allowed (it previously was for BOOST_LIBRARYDIR but not for BOOST_ROOT). It also cannot help with breakage detection in libraries, however it looks like this wasn't getting tested beforehand. I've given the two unique version numbers that shouldn't be present in any stock version of boost (001 and 002). * Add return type to detect_split_root * Return empty list when nothing found in BOOST_ROOT, rather than None * Update boost_root tests * Create nativefile.ini based on location of run_project_tests.py * Add fake libraries to ensure boost_librarydir is being used * Require all search paths for boost to be absolute * Redo boost search ordering To better match things like pkg-config, we now look through native/cross files, then environment variables, then system locations for boost installations. Path detection does not fall back from one method to the next for properties or environment variables--if boost_root, boost_librarydir, or boost_includedir is specified, they must be sufficient to find boost. Likewise for BOOST_ROOT and friends. pkg-config detection is still optional falling back to system-wide detection, for Conan. (Also, fix a typo in test 33's nativefile) * Correct return type for detect_roots * Correct boost dependency search order in documentation * Print debug information for boost library finding, to resolve CI issues * Handle native/cross file templates in a more consistent way All tests can now create a `nativefile.ini.in` if they need to use some parameter that the testing framework knows about but they can't. * Pass str--rather than PosixPath--to os.path.exists, for Python35 * Look for boost minor versions, rather than boost patch versions in test cases * Drop fake dylib versions of boost_regex * Prefer get_env_var to use of os.environ * Correct error reporting for relative BOOST_ROOT paths * Bump version this appears in. Also, change "properties file" to "machine file" as that appears to be the more common language.
2020-05-24fixed typop01arst0rm
2020-05-11ConfigToolDependency: Don't fallback to system tool when cross compilingXavier Claessens
The system tool is always the wrong thing to use and cause hard to debug issues when trying to link system libraries with cross built binaries. The ExternalDependency base class already had a method to deal with this, used by PkgConfigDependency and QtBaseDependency, so it should make things more consistent.
2020-04-04docs: add LLVM tool section to dependencies [skip ci]Gerion Entrup