SConscript 468 B

12345678910111213141516171819202122232425
  1. Import('RTT_ROOT')
  2. from building import *
  3. # get current directory
  4. cwd = GetCurrentDir()
  5. # The set of source files associated with this SConscript file.
  6. src = []
  7. path = []
  8. src += Glob('iotsharp-c-sdk/src/*.c')
  9. path += [cwd + '/iotsharp-c-sdk/include']
  10. path += [cwd + '/iotsharp-c-sdk/src']
  11. if GetDepend(['PKG_USING_IOTSHARP_EXAMPLES']):
  12. src += Glob('samples/*.c')
  13. group = DefineGroup('iotsharp-c-sdk', src, depend = [''], CPPPATH = path)
  14. Return('group')