aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Richardson <everythingfunctional@protonmail.com>2021-03-24 07:05:49 -0500
committerGitHub <noreply@github.com>2021-03-24 07:05:49 -0500
commitf77e0728082d76bf4a8fbf7a248bc147b3b9e349 (patch)
tree4edd899e19378b91fbdedb8ef30e116e3235f489
parenta5673ab45dab5e3dc09851bf143946ccf6f53218 (diff)
downloadfpm-f77e0728082d76bf4a8fbf7a248bc147b3b9e349.tar.gz
fpm-f77e0728082d76bf4a8fbf7a248bc147b3b9e349.zip
doc: Update description of APP and TEST scopes
Co-authored-by: Laurence Kedward <laurence.kedward@bristol.ac.uk>
-rw-r--r--fpm/src/fpm_targets.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/fpm/src/fpm_targets.f90 b/fpm/src/fpm_targets.f90
index 2d70b21..026d349 100644
--- a/fpm/src/fpm_targets.f90
+++ b/fpm/src/fpm_targets.f90
@@ -329,8 +329,8 @@ end subroutine add_dependency
!>
!> - Executable sources (`FPM_SCOPE_APP`,`FPM_SCOPE_TEST`) may use
!> library modules (including dependencies) as well as any modules
-!> corresponding to source files __in the same directory__ as the
-!> executable source.
+!> corresponding to source files in the same directory or a
+!> subdirectory of the executable source file.
!>
!> @warning If a module used by a source file cannot be resolved to
!> a source file in the package of the correct scope, then a __fatal error__