From beaf9a86f83c2de0ebc593f5d8bb924cbdb42ed0 Mon Sep 17 00:00:00 2001 From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> Date: Mon, 20 Sep 2021 23:10:15 +0200 Subject: Enable multiple build output directories --- src/fpm_model.f90 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/fpm_model.f90') 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) -- cgit v1.2.3