@@ -30,6 +30,10 @@ Description:
30
30
31
31
FilesAB: src/lTerm_config.h.ab
32
32
33
+ Flag examples
34
+ Description: build examples
35
+ Default: true
36
+
33
37
# +-------------------------------------------------------------------+
34
38
# | The library |
35
39
# +-------------------------------------------------------------------+
@@ -92,83 +96,94 @@ Executable events
92
96
CompiledObject: best
93
97
MainIs: events.ml
94
98
BuildDepends: lambda-term
99
+ Build$: flag(examples)
95
100
96
101
Executable colors
97
102
Path: examples
98
103
Install: false
99
104
CompiledObject: best
100
105
MainIs: colors.ml
101
106
BuildDepends: lambda-term
107
+ Build$: flag(examples)
102
108
103
109
Executable colors_256
104
110
Path: examples
105
111
Install: false
106
112
CompiledObject: best
107
113
MainIs: colors_256.ml
108
114
BuildDepends: lambda-term
115
+ Build$: flag(examples)
109
116
110
117
Executable rgb
111
118
Path: examples
112
119
Install: false
113
120
CompiledObject: best
114
121
MainIs: rgb.ml
115
122
BuildDepends: lambda-term
123
+ Build$: flag(examples)
116
124
117
125
Executable move
118
126
Path: examples
119
127
Install: false
120
128
CompiledObject: best
121
129
MainIs: move.ml
122
130
BuildDepends: lambda-term
131
+ Build$: flag(examples)
123
132
124
133
Executable hello
125
134
Path: examples
126
135
Install: false
127
136
CompiledObject: best
128
137
MainIs: hello.ml
129
138
BuildDepends: lambda-term
139
+ Build$: flag(examples)
130
140
131
141
Executable clock
132
142
Path: examples
133
143
Install: false
134
144
CompiledObject: best
135
145
MainIs: clock.ml
136
146
BuildDepends: lambda-term
147
+ Build$: flag(examples)
137
148
138
149
Executable buttons
139
150
Path: examples
140
151
Install: false
141
152
CompiledObject: best
142
153
MainIs: buttons.ml
143
154
BuildDepends: lambda-term
155
+ Build$: flag(examples)
144
156
145
157
Executable focus
146
158
Path: examples
147
159
Install: false
148
160
CompiledObject: best
149
161
MainIs: focus.ml
150
162
BuildDepends: lambda-term
163
+ Build$: flag(examples)
151
164
152
165
Executable scroll
153
166
Path: examples
154
167
Install: false
155
168
CompiledObject: best
156
169
MainIs: scroll.ml
157
170
BuildDepends: lambda-term
171
+ Build$: flag(examples)
158
172
159
173
Executable scroll_debug
160
174
Path: examples
161
175
Install: false
162
176
CompiledObject: best
163
177
MainIs: scroll_debug.ml
164
178
BuildDepends: lambda-term
179
+ Build$: flag(examples)
165
180
166
181
Flag images
167
182
Description: Build ascii art example (requires camlimages)
168
183
Default: false
169
184
170
185
Executable asciiart
171
- Build$: flag(images)
186
+ Build$: flag(images) && flag(examples)
172
187
Path: examples
173
188
Install: false
174
189
CompiledObject: best
@@ -181,55 +196,63 @@ Executable checkbuttons
181
196
CompiledObject: best
182
197
MainIs: checkbuttons.ml
183
198
BuildDepends: lambda-term
199
+ Build$: flag(examples)
184
200
185
201
Executable radiobuttons
186
202
Path: examples
187
203
Install: false
188
204
CompiledObject: best
189
205
MainIs: radiobuttons.ml
190
206
BuildDepends: lambda-term
207
+ Build$: flag(examples)
191
208
192
209
Executable shell
193
210
Path: examples
194
211
Install: false
195
212
CompiledObject: best
196
213
MainIs: shell.ml
197
214
BuildDepends: lambda-term, str
215
+ Build$: flag(examples)
198
216
199
217
Executable repl
200
218
Path: examples
201
219
Install: false
202
220
CompiledObject: best
203
221
MainIs: repl.ml
204
222
BuildDepends: lambda-term
223
+ Build$: flag(examples)
205
224
206
225
Executable modal
207
226
Path: examples
208
227
Install: false
209
228
CompiledObject: best
210
229
MainIs: modal.ml
211
230
BuildDepends: lambda-term
231
+ Build$: flag(examples)
212
232
213
233
Executable "read-password"
214
234
Path: examples
215
235
Install: false
216
236
CompiledObject: best
217
237
MainIs: read_password.ml
218
238
BuildDepends: lambda-term
239
+ Build$: flag(examples)
219
240
220
241
Executable "read-yes-no"
221
242
Path: examples
222
243
Install: false
223
244
CompiledObject: best
224
245
MainIs: read_yes_no.ml
225
246
BuildDepends: lambda-term
247
+ Build$: flag(examples)
226
248
227
249
Executable "editor"
228
250
Path: examples
229
251
Install: false
230
252
CompiledObject: best
231
253
MainIs: editor.ml
232
254
BuildDepends: lambda-term
255
+ Build$: flag(examples)
233
256
234
257
# +-------------------------------------------------------------------+
235
258
# | Utils |
@@ -252,6 +275,7 @@ Executable "history-stress-test"
252
275
CompiledObject: best
253
276
MainIs: history_stress_test.ml
254
277
BuildDepends: lambda-term
278
+ Build$: flag(tests)
255
279
256
280
# +-------------------------------------------------------------------+
257
281
# | Doc |
0 commit comments