SConscript 286 B

12345678910111213
  1. from building import *
  2. cwd = GetCurrentDir()
  3. path = [cwd]
  4. src = Glob('thread_pool.c')
  5. if GetDepend(['THREAD_POOL_USING_SAMPLES']):
  6. src += Glob('thread_pool_sample.c')
  7. group = DefineGroup('thread_pool', src, depend = ['PKG_USING_THREAD_POOL'], CPPPATH = path)
  8. Return('group')