1
0

SConscript 270 B

1234567891011
  1. from building import *
  2. cwd = GetCurrentDir()
  3. src = Glob('*.c')
  4. if GetDepend("USE_MEM_PROTECTION_EXAMPLES"):
  5. src += Glob('examples/*.c')
  6. CPPPATH = [cwd]
  7. group = DefineGroup('mprotect', src, depend = ['RT_USING_MEM_PROTECTION'], CPPPATH = CPPPATH)
  8. Return('group')