(env)
| 10 | SCons.Warnings.enableWarningClass(ToolCocoWarning) |
| 11 | |
| 12 | def _detect(env): |
| 13 | try: |
| 14 | return env['coconut'] |
| 15 | except KeyError: |
| 16 | pass |
| 17 | |
| 18 | coconut = env.WhereIs('coconut') |
| 19 | if coconut: |
| 20 | return coconut |
| 21 | |
| 22 | SCons.Warnings.warn(CoconutNotFound, 'Could not find Coconut executable') |
| 23 | |
| 24 | |
| 25 | def generate(env): |