Returns the list of preprocessor definitions for this configuration. Arguments: config: The dictionary that defines the special processing to be done for this configuration. Returns: The list of preprocessor definitions.
(config)
| 1368 | |
| 1369 | |
| 1370 | def _GetDefines(config): |
| 1371 | """Returns the list of preprocessor definitions for this configuration. |
| 1372 | |
| 1373 | Arguments: |
| 1374 | config: The dictionary that defines the special processing to be done |
| 1375 | for this configuration. |
| 1376 | Returns: |
| 1377 | The list of preprocessor definitions. |
| 1378 | """ |
| 1379 | defines = [] |
| 1380 | for d in config.get("defines", []): |
| 1381 | fd = "=".join([str(dpart) for dpart in d]) if isinstance(d, list) else str(d) |
| 1382 | defines.append(fd) |
| 1383 | return defines |
| 1384 | |
| 1385 | |
| 1386 | def _GetDisabledWarnings(config): |
no test coverage detected