+
    UBi                        ^ RI Ht ^ RIt^ RIHt ]P                  '       d   ^RIHt Rt	Rt
RtRtR	t ! R
 R]4      tR# )    )annotationsN)FileImpl)	Argumentsa  
! This procedure will not be exported and is not
! directly callable by users of this library.

module modfoo

implicit none
private
public :: {function_name}

contains

integer function internal_function()
    internal_function = 0
end function internal_function

integer function {function_name}()
    {function_name} = internal_function()
end function {function_name}

end module modfoo
z4
use modfoo

print *,{function_name}()

end program
a  project(
  '{project_name}',
  'fortran',
  version : '{version}',
  meson_version : '>= {meson_version}',
  default_options : ['warning_level=3'],
)

# These arguments are only used to build the shared library
# not the executables that use the library.
lib_args = ['-DBUILDING_{utoken}']

dependencies = [{dependencies}
]

sources = [{source_files}
]

lib = library(
  '{lib_name}',
  sources,
  install : true,
  fortran_shared_args : lib_args,
  gnu_symbol_visibility : 'hidden',
  dependencies : dependencies,
)

test_exe = executable(
  '{test_exe_name}',
  '{test_source_file}',
  link_with : lib,
  dependencies : dependencies,
)
test('{test_name}', test_exe)

# Make this library usable as a Meson subproject.
{ltoken}_dep = declare_dependency(
  include_directories : include_directories('.'),
  dependencies : dependencies,
  link_with : lib,
)
meson.override_dependency('{project_name}', {ltoken}_dep)

pkg_mod = import('pkgconfig')
pkg_mod.generate(
  lib,
  description : 'Meson sample project.',
  subdirs : '{header_dir}',
)
z
implicit none

character(len=*), parameter :: PROJECT_NAME = "{project_name}"

print *,"This is project ", PROJECT_NAME

end program
aJ  project(
  '{project_name}',
  'fortran',
  version : '{version}',
  meson_version : '>= {meson_version}',
  default_options : ['warning_level=3'],
)

dependencies = [{dependencies}
]

sources = [{source_files}
]

exe = executable(
  '{exe_name}',
  sources,
  dependencies : dependencies,
  install : true,
)

test('basic', exe)
c                  F   a  ] tR t^tRt]t]t]	t
]t]tR V 3R lltRtV ;t# )FortranProjectf90c                   V ^8  d   QhRR/# )   argsr    )formats   "J/usr/lib/python3.14/site-packages/mesonbuild/templates/fortrantemplates.py__annotate__FortranProject.__annotate__   s     % %Y %    c                	4   < \         SV `  V4       R V n        R# )z1.3.0N)super__init__meson_version)selfr   	__class__s   &&r   r   FortranProject.__init__   s    $r   )r   )__name__
__module____qualname____firstlineno__
source_exthello_fortran_templateexe_templatehello_fortran_meson_templateexe_meson_templatelib_fortran_templatelib_templatelib_fortran_meson_templatelib_meson_templatelib_fortran_test_templatelib_test_templater   __static_attributes____classcell__)r   s   @r   r   r      s.    J)L5'L31% %r   r   )
__future__r   typingTmesonbuild.templates.sampleimplr   TYPE_CHECKINGminitr   r"   r&   r$   r   r    r   r   r   r   <module>r0      sQ   
 #  4???! . 1 f   2%X %r   