aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-02-05 16:41:44 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2019-02-05 22:41:44 +0100
commit70e6f4198c13c42e1640e4c80ada8f772b77042b (patch)
tree8307b98e05420a7a9e76dedad510c7c260d740d7 /docs
parentdb61d018ce575f3b5524ded328373faebdf879b7 (diff)
downloadmeson-70e6f4198c13c42e1640e4c80ada8f772b77042b.zip
meson-70e6f4198c13c42e1640e4c80ada8f772b77042b.tar.gz
meson-70e6f4198c13c42e1640e4c80ada8f772b77042b.tar.bz2
Fortran 2008 submodule (#4874)
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/snippets/fortran_submodule.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/markdown/snippets/fortran_submodule.md b/docs/markdown/snippets/fortran_submodule.md
new file mode 100644
index 0000000..9e4b9cc
--- /dev/null
+++ b/docs/markdown/snippets/fortran_submodule.md
@@ -0,0 +1,12 @@
+## Fortran submodule support
+
+Initial support for Fortran ``submodule`` was added, where the submodule is in
+the same or different file than the parent ``module``.
+The submodule hierarchy specified in the source Fortran code `submodule`
+statements are used by Meson to resolve source file dependencies.
+For example:
+
+```fortran
+submodule (ancestor:parent) child
+```
+