From cc7fc6ec36b9075f3709864e17301b691cf6b870 Mon Sep 17 00:00:00 2001 From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> Date: Tue, 10 Nov 2020 20:04:10 +0100 Subject: Add link entry also to executable and test sections - allows external library dependencies also for single targets --- manifest-reference.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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" } ``` -- cgit v1.2.3