project('static-hello', 'fortran') # staticlibsource = 'static_hello.f90' staticlibsource = configure_file( copy: true, input: 'static_hello.f90', output: 'static_hello_output.F90' ) static_hello_lib = static_library('static_hello', staticlibsource, install: false) static_hello_dep = declare_dependency(link_with: static_hello_lib)