aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2020-12-10 17:36:18 +0100
committerSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2020-12-10 18:14:27 +0100
commit25a15af0c02ab865047a264d45fd81d6ab50718c (patch)
tree58e32c093310a77161bd6e4cbf7ed3e5f2caaa8c
parentac3bd41a14ac9e56b64590012792e49653c82165 (diff)
downloadfpm-25a15af0c02ab865047a264d45fd81d6ab50718c.tar.gz
fpm-25a15af0c02ab865047a264d45fd81d6ab50718c.zip
Add build.auto-examples to manifest reference
-rw-r--r--manifest-reference.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/manifest-reference.md b/manifest-reference.md
index 43e20d3..45b4827 100644
--- a/manifest-reference.md
+++ b/manifest-reference.md
@@ -27,6 +27,8 @@ Every manifest file consists of the following sections:
- Build configuration:
- [*auto-tests*](#automatic-target-discovery):
Toggle automatic discovery of test executables
+ - [*auto-examples*](#automatic-target-discovery):
+ Toggle automatic discovery of example programs
- [*auto-executables*](#automatic-target-discovery):
Toggle automatic discovery of executables
- [*link*](#link-external-libraries):
@@ -363,14 +365,15 @@ link = ["blas", "lapack"]
> Supported in Fortran fpm only
Executables and test can be discovered automatically in their default directories.
-The automatic discovery recursively searches the ``app`` and ``test`` directories for ``program`` definitions and declares them as executable and test targets, respectively.
+The automatic discovery recursively searches the ``app``, ``example``, and ``test`` directories for ``program`` definitions and declares them as executable, example, and test targets, respectively.
The automatic discovery is enabled by default.
-To disable the automatic discovery of targets set the *auto-executables* and *auto-tests* entry to *false*.
+To disable the automatic discovery of targets set the *auto-executables*, *auto-examples*, and *auto-tests* entry to *false*.
```toml
[build]
auto-executables = false
+auto-examples = false
auto-tests = false
```