SConscript 512 B

12345678910111213141516171819202122
  1. from building import *
  2. import rtconfig
  3. # get current directory
  4. cwd = GetCurrentDir()
  5. # The set of source files associated with this SConscript file.
  6. src = []
  7. if GetDepend('ANV_BENCH_USING_EXAMPLE'):
  8. src += Glob('anv_bench_example.c')
  9. if GetDepend('ANV_BENCH_USING_GROUP_EXAMPLE'):
  10. src += Glob('anv_bench_group_example.c')
  11. LOCAL_CCFLAGS = ''
  12. path = [cwd]
  13. group = DefineGroup('anv_bench', src, CPPPATH = path, depend = ['PKG_USING_ANV_BENCH'], LOCAL_CCFLAGS = LOCAL_CCFLAGS)
  14. Return('group')