aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLKedward <laurence.kedward@bristol.ac.uk>2020-12-08 14:42:38 +0000
committerLKedward <laurence.kedward@bristol.ac.uk>2020-12-08 14:42:38 +0000
commita9db34a00af88fb69ad1e78cec99d017661dda82 (patch)
tree28c1fc63d3673a488609df38cbf4bf55b3cb6a6d
parent6e14f39bece042fa4adbb587335804d23e55eaad (diff)
downloadfpm-a9db34a00af88fb69ad1e78cec99d017661dda82.tar.gz
fpm-a9db34a00af88fb69ad1e78cec99d017661dda82.zip
Document model enumerations
-rw-r--r--fpm/src/fpm_model.f9012
1 files changed, 12 insertions, 0 deletions
diff --git a/fpm/src/fpm_model.f90 b/fpm/src/fpm_model.f90
index f0c8a1e..1b38d59 100644
--- a/fpm/src/fpm_model.f90
+++ b/fpm/src/fpm_model.f90
@@ -12,6 +12,18 @@
!>
!> Once a valid `[[fpm_model]]` has been constructed, it may be passed to `[[fpm_backend:build_package]]` to
!> build the package.
+!>
+!>### Enumerations
+!>
+!> __Source type:__ `FPM_UNIT_*`
+!> Describes the type of source file — determines build target generation
+!>
+!> __Source scope:__ `FPM_SCOPE_*`
+!> Describes the scoping rules for using modules — controls module dependency resolution
+!>
+!> __Target type:__ `FPM_TARGET_*`
+!> Describes the type of build target — determines backend build rules
+!>
module fpm_model
use iso_fortran_env, only: int64
use fpm_strings, only: string_t