SConscript 401 B

12345678910111213141516171819
  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('LWLOG_USE_USAGE_DEMO'):
  8. src += Glob('lwlog_demo.c')
  9. LOCAL_CCFLAGS = ''
  10. path = [cwd]
  11. group = DefineGroup('lwlog', src, CPPPATH = path, depend = ['PKG_USING_LWLOG'], LOCAL_CCFLAGS = LOCAL_CCFLAGS)
  12. Return('group')