We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8faaa90 commit 39818aaCopy full SHA for 39818aa
fpm/src/fpm_model.f90
@@ -224,7 +224,19 @@ recursive function info_build_target(t) result(s)
224
end if
225
s = s // "]"
226
! integer :: target_type = FPM_TARGET_UNKNOWN
227
-s = s // ", target_type=" // str(t%target_type)
+s = s // ", target_type="
228
+select case(t%target_type)
229
+case (FPM_TARGET_UNKNOWN)
230
+ s = s // "FPM_TARGET_UNKNOWN"
231
+case (FPM_TARGET_EXECUTABLE)
232
+ s = s // "FPM_TARGET_EXECUTABLE"
233
+case (FPM_TARGET_ARCHIVE)
234
+ s = s // "FPM_TARGET_ARCHIVE"
235
+case (FPM_TARGET_OBJECT)
236
+ s = s // "FPM_TARGET_OBJECT"
237
+case default
238
+ s = s // "INVALID"
239
+end select
240
! type(string_t), allocatable :: link_libraries(:)
241
s = s // ", link_libraries=["
242
if (allocated(t%link_libraries)) then
0 commit comments