File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 1- conf_data = configuration_data ()
2-
31is_windows = os == ' windows' ? ' .true.' : ' .false.'
42
5- conf_data.set(' is_windows' , is_windows)
63configure_file (
74 input : ' pathlib.in.f90' ,
85 output : ' pathlib.f90' ,
9- configuration : conf_data)
10-
11- python = find_program (' python' )
6+ configuration : {' is_windows' : is_windows})
127
13- ret = run_command (python, ' -c' , ' print(open("' + meson .current_source_dir() / ' reader_template.in.f90' + ' ").read())' )
14- reader_template = configuration_data ()
15- reader_template.set(' reader_template' , ret.stdout())
168configure_file (
179 input : ' reader.in.f90' ,
1810 output : ' reader.f90' ,
19- configuration : reader_template
11+ configuration : { ' reader_template' : fs.read( ' reader_template.in.f90 ' )}
2012)
2113
2214configure_file (
You can’t perform that action at this time.
0 commit comments