aboutsummaryrefslogtreecommitdiff
path: root/src/fpm_model.f90
diff options
context:
space:
mode:
authorBrad Richardson <everythingfunctional@protonmail.com>2021-04-15 14:59:15 -0500
committerBrad Richardson <everythingfunctional@protonmail.com>2021-04-15 14:59:15 -0500
commit0ac5f5bef94c8f12caa64f19fe6cb5026a5535c0 (patch)
tree11a6070e2ca99ab9fd6409a472c8f88c6622a0f1 /src/fpm_model.f90
parent0d3611a5f3e7a2d7cb88ec8637a9d898b2ce4cfb (diff)
downloadfpm-0ac5f5bef94c8f12caa64f19fe6cb5026a5535c0.tar.gz
fpm-0ac5f5bef94c8f12caa64f19fe6cb5026a5535c0.zip
feat(ar): use lib instead of ar on Windows
if ar isn't available
Diffstat (limited to 'src/fpm_model.f90')
-rw-r--r--src/fpm_model.f907
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fpm_model.f90 b/src/fpm_model.f90
index bfb0115..84f70d4 100644
--- a/src/fpm_model.f90
+++ b/src/fpm_model.f90
@@ -1,6 +1,6 @@
!># The fpm package model
!>
-!> Defines the fpm model data types which encapsulate all information
+!> Defines the fpm model data types which encapsulate all information
!> required to correctly build a package and its dependencies.
!>
!> The process (see `[[build_model(subroutine)]]`) for generating a valid `[[fpm_model]]` involves
@@ -117,6 +117,9 @@ type :: fpm_model_t
!> Command line name to invoke fortran compiler
character(:), allocatable :: fortran_compiler
+ !> Command line to invoke for creating static library
+ character(:), allocatable :: archiver
+
!> Command line flags passed to fortran for compilation
character(:), allocatable :: fortran_compile_flags
@@ -128,7 +131,7 @@ type :: fpm_model_t
!> Native libraries to link against
type(string_t), allocatable :: link_libraries(:)
-
+
!> Project dependencies
type(dependency_tree_t) :: deps