aboutsummaryrefslogtreecommitdiff
path: root/src/fpm_model.f90
diff options
context:
space:
mode:
authorSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2021-09-20 23:10:15 +0200
committerSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2021-09-23 21:59:06 +0200
commitbeaf9a86f83c2de0ebc593f5d8bb924cbdb42ed0 (patch)
tree7ae467dbd808d957ac4f3964747d06e661742986 /src/fpm_model.f90
parentdfeb17a3811054716828be47644ac98b146746de (diff)
downloadfpm-beaf9a86f83c2de0ebc593f5d8bb924cbdb42ed0.tar.gz
fpm-beaf9a86f83c2de0ebc593f5d8bb924cbdb42ed0.zip
Enable multiple build output directories
Diffstat (limited to 'src/fpm_model.f90')
-rw-r--r--src/fpm_model.f905
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fpm_model.f90 b/src/fpm_model.f90
index 38625be..d3ff038 100644
--- a/src/fpm_model.f90
+++ b/src/fpm_model.f90
@@ -131,7 +131,7 @@ type :: fpm_model_t
character(:), allocatable :: link_flags
!> Base directory for build
- character(:), allocatable :: output_directory
+ character(:), allocatable :: build_prefix
!> Include directories
type(string_t), allocatable :: include_dirs(:)
@@ -284,8 +284,7 @@ function info_model(model) result(s)
s = s // ', fortran_compile_flags="' // model%fortran_compile_flags // '"'
s = s // ', c_compile_flags="' // model%c_compile_flags // '"'
s = s // ', link_flags="' // model%link_flags // '"'
- ! character(:), allocatable :: output_directory
- s = s // ', output_directory="' // model%output_directory // '"'
+ s = s // ', build_prefix="' // model%build_prefix // '"'
! type(string_t), allocatable :: link_libraries(:)
s = s // ", link_libraries=["
do i = 1, size(model%link_libraries)