SConstruct 932 B

12345678910111213141516171819202122232425262728
  1. # -*- coding: utf-8; mode: Python -*-
  2. # (c) Daniel Llorens - 2016, 2019
  3. # This library is free software; you can redistribute it and/or modify it under
  4. # the terms of the GNU Lesser General Public License as published by the Free
  5. # Software Foundation; either version 3 of the License, or (at your option) any
  6. # later version.
  7. # Top SConstruct for ra-ra
  8. import os, atexit
  9. from os.path import join, abspath
  10. from SCons.Script import GetBuildFailures
  11. import imp
  12. ra = imp.load_source('ra', 'config/ra.py')
  13. top = {'skip_summary': True}; Export('top');
  14. SConscript('test/SConstruct', 'top')
  15. SConscript('bench/SConstruct', 'top')
  16. SConscript('examples/SConstruct', 'top')
  17. SConscript('box/SConstruct', 'top')
  18. # SConscript('docs/SConstruct', 'top') # TODO run from docs, otherwise makeinfo writes empty files (??)
  19. Default(['test', 'bench', 'examples']) # exclude box
  20. atexit.register(lambda: ra.print_summary(GetBuildFailures, 'ra-ra'))