Closed
Description
Suggested in #257 (review).
Additionally to the currently available executable
and test
tables an example
table would allow to have usage example in a project which do not count as production executables but rather as demonstrations.
The syntax would be identical to the executable
and test
table with:
[[example]]
name = "demo"
source-dir = "example" # suggestions for the default dir?
main = "main.f90"
Also, example executables can be automatically discovered like executables or test:
[build]
auto-examples = true