wscript_build 250 B

123456789101112131415161718
  1. #! /usr/bin/env python
  2. """
  3. Cycles in use should be detected (raise an error before the build starts)
  4. """
  5. bld.shlib(
  6. source = 'a.c',
  7. target = 'CYC_1',
  8. use = 'CYC_2'
  9. )
  10. bld.shlib(
  11. source = 'b.c',
  12. target = 'CYC_2',
  13. use = 'CYC_1'
  14. ).post()