parent
1fdcc30ae6
commit
f5fa56fdfa
3 changed files with 13 additions and 0 deletions
@ -0,0 +1,4 @@ |
||||
#define MYDEF program |
||||
MYDEF foo |
||||
write (*,*) 'Hello, world!' |
||||
end MYDEF foo |
@ -0,0 +1,7 @@ |
||||
project('preprocess', 'fortran') |
||||
|
||||
fc = meson.get_compiler('fortran') |
||||
|
||||
pp_files = fc.preprocess('main.f90', output: '@PLAINNAME@') |
||||
|
||||
library('foo', pp_files) |
Loading…
Reference in new issue