aboutsummaryrefslogtreecommitdiff
path: root/manifest-reference.md
diff options
context:
space:
mode:
authorSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2020-11-10 20:04:10 +0100
committerSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2020-11-13 09:34:56 +0100
commitcc7fc6ec36b9075f3709864e17301b691cf6b870 (patch)
tree308629bd161681887ba4d748d325cbe16cde2aa0 /manifest-reference.md
parent681e4add145a71735da85193403d77abec8bb0ef (diff)
downloadfpm-cc7fc6ec36b9075f3709864e17301b691cf6b870.tar.gz
fpm-cc7fc6ec36b9075f3709864e17301b691cf6b870.zip
Add link entry also to executable and test sections
- allows external library dependencies also for single targets
Diffstat (limited to 'manifest-reference.md')
-rw-r--r--manifest-reference.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifest-reference.md b/manifest-reference.md
index dbf7a77..5002881 100644
--- a/manifest-reference.md
+++ b/manifest-reference.md
@@ -230,6 +230,11 @@ See [specifying dependencies](#specifying-dependencies) for more details.
> Dependencies supported in Bootstrap fpm only
+Executables can also specify their own external library dependencies.
+See [external libraries](#link-external-libraries) for more details.
+
+> Currently not supported in any version
+
*Example:*
```toml
@@ -240,6 +245,7 @@ main = "program.f90"
[[ executable ]]
name = "app-tool"
+link = "z"
[executable.dependencies]
helloff = { git = "https://gitlab.com/everythingfunctional/helloff.git" }
```
@@ -269,6 +275,11 @@ See [specifying dependencies](#specifying-dependencies) for more details.
> Dependencies supported in Bootstrap fpm only
+Tests can also specify their own external library dependencies.
+See [external libraries](#link-external-libraries) for more details.
+
+> Currently not supported in any version
+
*Example:*
```toml
@@ -279,6 +290,7 @@ main = "tester.F90"
[[ test ]]
name = "tester"
+link = ["blas", "lapack"]
[test.dependencies]
helloff = { git = "https://gitlab.com/everythingfunctional/helloff.git" }
```