aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Dependencies.md
AgeCommit message (Collapse)AuthorFilesLines
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
2018-10-03Add custom libgcrypt dependency using libgcrypt-configPatrick Griffis1-2/+9
Fixes #3563
2018-09-10Qt: add main argument to Qt dependency object to link with qtmain library on ↔Alexey Rochev1-0/+4
Windows (#2327)
2018-07-29Replace long obsolete find_dep with dependency in docs. [skip ci]Jussi Pakkanen1-18/+19
2018-07-17docs: fix dlang module documentationFFY001-19/+33
2018-06-18dependencies: don't search for dependency with pkgconfig if dub was specifiedFFY001-1/+0
2018-06-17docs: add documentation related to dub and the dlang moduleFFY001-0/+19
2018-06-17Fix header level of pcap [skip ci]Jon Turney1-1/+1
2018-06-17Improve documentation of case-(in)senstivity of dependency names [skip ci]Jon Turney1-0/+8
2018-06-10Document version when custom detectors were added [skip ci]Jon Turney1-4/+23
2018-06-10Document values for dependency(method:) [skip ci]Jon Turney1-11/+34
We say 'different dependencies support different values for this', but nowhere document what values are supported, so the only way to find these out is to read the source, or guess. Make a start at doing that.
2018-06-10Alphabetize custom dependencies [skip ci]Jon Turney1-61/+62
2018-06-10Correct the name of the libwmf dependency [skip ci]Jon Turney1-1/+1
q.v. dependencies/__init__.py#L41
2018-05-31Mention private_headers keyword in Qt dependency documentation [skip ci]Jon Turney1-0/+6
Also, put discussion of Qt dependencies *before* the example in the Qt5 module documentation.
2018-05-31Document OpenMP dependency [skip ci]Jon Turney1-0/+14
PR #1852 only adds mention of this to the release note. I think it's useful to have a list of all dependency names which are treated specifically in Dependency.md, so add 'thread' and 'openmp'.
2018-03-11docs: Add custom dependencies missing documentationJon Turney1-0/+26
Add some brief documnentation about custom dependency lookups which are implemented but not documented.
2018-03-11docs: polish documentation for custom dependency detectorsJon Turney1-12/+12
Various grammar fixes Fix syntax of MPI examples Add Qt4
2018-03-04Document wxwidgets dependency, closes #3159 [skip ci]Aleksey Filippov1-2/+26