fsb.py 572 B

12345678910111213141516171819202122232425262728293031
  1. #! /usr/bin/env python
  2. # encoding: utf-8
  3. # Thomas Nagy, 2011 (ita)
  4. """
  5. Fully sequential builds
  6. The previous tasks from task generators are re-processed, and this may lead to speed issues
  7. Yet, if you are using this, speed is probably a minor concern
  8. """
  9. from waflib import Build
  10. def options(opt):
  11. pass
  12. def configure(conf):
  13. pass
  14. class FSBContext(Build.BuildContext):
  15. def __call__(self, *k, **kw):
  16. ret = Build.BuildContext.__call__(self, *k, **kw)
  17. # evaluate the results immediately
  18. Build.BuildContext.compile(self)
  19. return ret
  20. def compile(self):
  21. pass