pnna2/examples/SConscript

16 lines
327 B
Python

from building import *
import os
cwd = GetCurrentDir()
example_groups = []
for d in os.listdir(cwd):
path = os.path.join(cwd, d)
if os.path.isdir(path):
sc = os.path.join(path, 'SConscript')
if os.path.exists(sc):
example_groups += SConscript(sc)
Return('example_groups')