Allocate a new target and append to target list
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(build_target_ptr), | intent(inout), | allocatable | :: | targets(:) | ||
| character(len=*), | intent(in) | :: | package | |||
| integer, | intent(in) | :: | type | |||
| character(len=*), | intent(in) | :: | output_name | |||
| type(srcfile_t), | intent(in), | optional | :: | source | ||
| type(string_t), | intent(in), | optional | :: | link_libraries(:) | ||
| type(fortran_config_t), | intent(in), | optional | :: | features | ||
| type(preprocess_config_t), | intent(in), | optional | :: | preprocess | ||
| type(version_t), | intent(in), | optional | :: | version | ||
| character(len=*), | intent(in), | optional | :: | output_dir | 
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(build_target_ptr), | intent(inout), | allocatable | :: | targets(:) | ||
| type(build_target_ptr), | intent(in) | :: | add_target | 
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(build_target_ptr), | intent(inout), | allocatable | :: | targets(:) | ||
| type(build_target_ptr), | intent(in) | :: | add_targets(:) |