Eli Bendersky | 924f9a6 | 2012-02-16 06:28:33 +0000 | [diff] [blame^] | 1 | config.suffixes = ['.ll', '.c', '.cpp'] |
2 | |||||
3 | def getRoot(config): | ||||
4 | if not config.parent: | ||||
5 | return config | ||||
6 | return getRoot(config.parent) | ||||
7 | |||||
8 | root = getRoot(config) | ||||
9 | |||||
10 | targets = set(root.targets_to_build.split()) | ||||
11 | if not 'CppBackend' in targets: | ||||
12 | config.unsupported = True | ||||
13 |