SConscript 388 B

1234567891011121314151617181920212223
  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 = Glob('src/*.c')
  7. if GetDepend('PKG_USING_NMEALIB_EXAMPLES'):
  8. src += Glob('examples/*.c');
  9. path = [cwd + '/include']
  10. group = DefineGroup('nmealib', src,depend = ['PKG_USING_NMEALIB'], CPPPATH = path)
  11. Return('group')