aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Dependencies.md
AgeCommit message (Collapse)AuthorFilesLines
2022-03-07docs: add forgotten documentation for the new openssl dependencyEli Schwartz1-0/+6
2022-03-04Add modules kwarg to JNI system depTristan Partin1-3/+14
This allows someone to link against libjvm.so and libjawt.so.
2022-03-02Rename JDK system dep to JNITristan Partin1-6/+20
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 documentationDudemanguy1-5/+11
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 Krasavin1-0/+11
2022-01-26Add docs for JDK system dependencyTristan Partin1-0/+14
For whatever reason, the original PR was merged without documentation.
2021-11-15dependencies/zlib: Add system zlib method for androidDudemanguy1-1/+1
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 Clauss1-1/+1
2021-09-12new custom dependency lookup for iconvEli Schwartz1-0/+9
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 Seifert1-1/+3
2021-07-04Consistently capitialize 'Meson' in Dependencies.mdJon Turney1-4/+4
Consistently capitialize 'Meson' where used as a proper name in Dependencies.md.
2021-07-03Improve text for dependency detection methodsJon Turney1-4/+5
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 Turney1-61/+60
2021-06-30Move 'builtin', 'config-tool' and 'system' methods to discussion of methodsJon Turney1-45/+45
2021-06-17intl custom dependencyEli Schwartz1-1/+20
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 tabsandy59951-11/+11
Remove tabs introduced by https://github.com/mesonbuild/meson/pull/8866
2021-06-11add example for defining curses preprocessor symbolsAndy Alt1-0/+23
2021-03-09docs: add a couple words about system dependenciesDylan Baker1-0/+17
2021-01-31Capitalize "Meson" consistently as it is a proper name. [skip ci]Jussi Pakkanen1-10/+10
2021-01-30Rewrap long text lines in docs. [skip ci]Jussi Pakkanen1-86/+104
2020-11-21Handle cmake dependencies which require a specified versionJason Ekstrand1-0/+5
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 Baker1-2/+2
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 Baker1-1/+3
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 Baker1-0/+10
2020-09-25dependencies/hdf5: Convert to a dependency_factoryDylan Baker1-0/+4
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)cmcneish1-2/+6
* 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 typop01arst0rm1-1/+1
2020-05-11ConfigToolDependency: Don't fallback to system tool when cross compilingXavier Claessens1-0/+3
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 Entrup1-0/+11
2020-03-19docs: update MPI documentation with methodsDylan Baker1-1/+7
2020-03-19cmake: Add find_package COMPONETS supportDaniel Mensinger1-0/+4
2020-02-19docs: Fix Dub section being inside CMake section [skip ci]Niklas HambĂŒchen1-1/+1
It should be a `##` heading, not a `###` heading. Also make heading label consistent with the others.
2020-01-31docs: Update dependency docs for zlibDylan Baker1-0/+11
2020-01-30Small cleanups for the LLVM dependency class (#6548)Dylan Baker1-0/+2
2020-01-09docs: Add documentation for variables keywordDylan Baker1-11/+13
In declare_dependency() and dependency.get_variables().
2019-12-12docs: Fix wrong example for shaderc dependency [skip ci]ePirat1-12/+12
The example is meant for wxWidgets not Shaderc.
2019-11-06Fix typos found by codespellWolfgang Stöggl1-3/+3
- Typos were found by codespell v1.16.0
2019-11-05dependency('cuda')Aleksey Gurtovoy1-0/+16
2019-10-19docs: Add missing language identifier [skip ci]Anton Leontiev1-1/+2
2019-09-23Add blocks dependencyPatrick Griffis1-0/+10
This allows easily enabling the blocks clang extension.
2019-05-20docs: Add docs for Dependency.get_variableDylan Baker1-0/+23
2019-04-15fix gpgme support by preferring pkg-config where possibleEli Schwartz1-1/+1
Since gpgme 1.13.0, pkg-config files are available and this is the preferred way to detect the dependency. Without this, projects that wish to generate pkg-config files that Requires.private on gpgme, now have their custom dependency() fallbacks overridden with an incorrect configtool dependency.
2019-04-06Add gpgme-config supportJan Tojnar1-1/+8
GPGME does not support pkg-config so we need config-tool support if we do not want projects like Almanah and Seahorse to parse the values manually.
2019-04-02Add shaderc dependency lookup logicAndrei Alexeyev1-0/+12
2019-02-28add NetCDFMichael Hirsch, Ph.D1-1/+20
2019-02-18Correct pkg-config method in Qt dependency docs [skip ci]Florian MĂ€rkl1-1/+1
2019-02-13Fortran 2008/2018 Coarray supportMichael Hirsch, Ph.D1-0/+8
2019-02-01CMake: Added support for CMAKE_MODULE_PATH and extra CMake args (closes #4779)Daniel Mensinger1-0/+8
2019-01-30initial HDF5 pkg-config fortran worksMichael Hirsch, Ph.D1-0/+11
2018-11-22CMake find_package dependency backend (#4444)Daniel Mensinger1-2/+29