Enhanced GetDepend that uses the new OOP implementation.
(depend)
| 73 | _original_GetDepend = GetDepend |
| 74 | |
| 75 | def GetDepend(depend): |
| 76 | """ |
| 77 | Enhanced GetDepend that uses the new OOP implementation. |
| 78 | """ |
| 79 | global Env |
| 80 | if Env and hasattr(Env, 'GetDepend'): |
| 81 | # Use new method if available |
| 82 | return Env.GetDepend(depend) |
| 83 | else: |
| 84 | # Fallback to original |
| 85 | return _original_GetDepend(depend) |
| 86 | |
| 87 | |
| 88 | # Override DoBuilding to integrate project generation |