File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -227,6 +227,23 @@ class Install(BaseModel):
227
227
"""Install library with this project"""
228
228
229
229
230
+ class Preprocess (BaseModel ):
231
+ """
232
+ .. Preprocessing settings
233
+
234
+ Preprocessing directives for the project.
235
+ """
236
+
237
+ macros : Union [str , List [str ]] = []
238
+ """Preprocessor macros e.g. ['HAVE_MPI', 'VALUE=1', 'VERSION={version}']"""
239
+
240
+ directories : Union [str , List [str ]] = []
241
+ """Include directories"""
242
+
243
+ suffixes : Union [str , List [str ]]= []
244
+ """Suffixes the preprocessor should run on"""
245
+
246
+
230
247
class Manifest (BaseModel ):
231
248
"""
232
249
.. Package manifest settings
@@ -285,6 +302,9 @@ class Manifest(BaseModel):
285
302
286
303
dev_dependencies : Dict [str , DependencyUnion ] = Field ({}, alias = "dev-dependencies" )
287
304
"""Development dependency meta data"""
305
+
306
+ preprocess : Dict [str , Preprocess ] = {}
307
+ """Preprocessor meta data"""
288
308
289
309
extra : Dict [str , Any ] = {}
290
310
"""Additional free data field"""
You can’t perform that action at this time.
0 commit comments