@@ -39,7 +39,7 @@ del /q /f build
39
39
%fpm_path% build
40
40
if errorlevel 1 exit 1
41
41
42
- .\build\gfortran_debug\app\ hello_world
42
+ %fpm_path% run --target hello_world
43
43
if errorlevel 1 exit 1
44
44
45
45
%fpm_path% run
@@ -53,7 +53,7 @@ del /q /f build
53
53
%fpm_path% build
54
54
if errorlevel 1 exit 1
55
55
56
- .\build\gfortran_debug\app\ hello_fpm
56
+ %fpm_path% run --target hello_fpm
57
57
if errorlevel 1 exit 1
58
58
59
59
@@ -83,16 +83,16 @@ if errorlevel 1 exit 1
83
83
%fpm_path% test
84
84
if errorlevel 1 exit 1
85
85
86
- .\build\gfortran_debug\app\ say_Hello
86
+ %fpm_path% run --target say_Hello
87
87
if errorlevel 1 exit 1
88
88
89
- .\build\gfortran_debug\app\ say_goodbye
89
+ %fpm_path% run --target say_goodbye
90
90
if errorlevel 1 exit 1
91
91
92
- .\build\gfortran_debug\ test\ greet_test
92
+ %fpm_path% test --target greet_test
93
93
if errorlevel 1 exit 1
94
94
95
- .\build\gfortran_debug\ test\ farewell_test
95
+ %fpm_path% test --target farewell_test
96
96
if errorlevel 1 exit 1
97
97
98
98
@@ -103,16 +103,16 @@ del /q /f build
103
103
%fpm_path% build
104
104
if errorlevel 1 exit 1
105
105
106
- .\build\gfortran_debug\app\ say_hello_world
106
+ %fpm_path% run --target say_hello_world
107
107
if errorlevel 1 exit 1
108
108
109
- .\build\gfortran_debug\app\ say_goodbye
109
+ %fpm_path% run --target say_goodbye
110
110
if errorlevel 1 exit 1
111
111
112
- .\build\gfortran_debug\ test\ greet_test
112
+ %fpm_path% test --target greet_test
113
113
if errorlevel 1 exit 1
114
114
115
- .\build\gfortran_debug\ test\ farewell_test
115
+ %fpm_path% test --target farewell_test
116
116
117
117
118
118
cd ..\with_examples
@@ -122,10 +122,10 @@ del /q /f build
122
122
%fpm_path% build
123
123
if errorlevel 1 exit 1
124
124
125
- .\build\gfortran_debug\ example\ demo-prog
125
+ %fpm_path% run -- example --target demo-prog
126
126
if errorlevel 1 exit 1
127
127
128
- .\build\gfortran_debug\app\ demo-prog
128
+ %fpm_path% run --target demo-prog
129
129
if errorlevel 1 exit 1
130
130
131
131
@@ -136,15 +136,15 @@ del /q /f build
136
136
%fpm_path% build
137
137
if errorlevel 1 exit 1
138
138
139
- .\build\gfortran_debug\app\ auto_discovery_off
139
+ %fpm_path% run --target auto_discovery_off
140
140
if errorlevel 1 exit 1
141
141
142
- .\build\gfortran_debug\ test\ my_test
142
+ %fpm_path% test --target my_test
143
143
if errorlevel 1 exit 1
144
144
145
- if exist .\build\gfortran_debug \app\unused exit /B 1
145
+ if exist .\build\gfortran_* \app\unused exit /B 1
146
146
147
- if exist .\build\gfortran_debug \test\unused_test exit /B 1
147
+ if exist .\build\gfortran_* \test\unused_test exit /B 1
148
148
149
149
150
150
cd ..\with_c
@@ -154,7 +154,7 @@ del /q /f build
154
154
%fpm_path% build
155
155
if errorlevel 1 exit 1
156
156
157
- .\build\gfortran_debug\app\ with_c
157
+ %fpm_path% run --target with_c
158
158
if errorlevel 1 exit 1
159
159
160
160
@@ -173,7 +173,7 @@ del /q /f build
173
173
%fpm_path% build
174
174
if errorlevel 1 exit 1
175
175
176
- .\build\gfortran_debug\app\ Program_with_module
176
+ %fpm_path% run --target Program_with_module
177
177
if errorlevel 1 exit 1
178
178
179
179
@@ -184,7 +184,7 @@ del /q /f build
184
184
%fpm_path% build
185
185
if errorlevel 1 exit 1
186
186
187
- .\build\gfortran_debug\app\ gomp_test
187
+ %fpm_path% run --target gomp_test
188
188
if errorlevel 1 exit 1
189
189
190
190
cd ..\..
0 commit comments