aboutsummaryrefslogtreecommitdiff
path: root/test/fpm_test/test_backend.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 /test/fpm_test/test_backend.f90
parentdfeb17a3811054716828be47644ac98b146746de (diff)
downloadfpm-beaf9a86f83c2de0ebc593f5d8bb924cbdb42ed0.tar.gz
fpm-beaf9a86f83c2de0ebc593f5d8bb924cbdb42ed0.zip
Enable multiple build output directories
Diffstat (limited to 'test/fpm_test/test_backend.f90')
-rw-r--r--test/fpm_test/test_backend.f905
1 files changed, 5 insertions, 0 deletions
diff --git a/test/fpm_test/test_backend.f90 b/test/fpm_test/test_backend.f90
index eea0460..cb8d6c8 100644
--- a/test/fpm_test/test_backend.f90
+++ b/test/fpm_test/test_backend.f90
@@ -328,6 +328,7 @@ contains
function new_test_package() result(targets)
type(build_target_ptr), allocatable :: targets(:)
+ integer :: i
call add_target(targets,FPM_TARGET_ARCHIVE,get_temp_filename())
@@ -347,6 +348,10 @@ contains
call add_dependency(targets(2)%ptr,targets(4)%ptr)
call add_dependency(targets(3)%ptr,targets(4)%ptr)
+ do i = 1, size(targets)
+ targets(i)%ptr%output_file = targets(i)%ptr%output_name
+ end do
+
end function new_test_package