[GUI Engine] Add SConscript for libraries.

This commit is contained in:
bernard 2017-06-06 18:24:38 +08:00
parent 53f042b44b
commit 380754f4fd
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
# for module compiling
import os
from building import *
cwd = GetCurrentDir()
objs = []
list = os.listdir(cwd)
for d in list:
path = os.path.join(cwd, d)
if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(d, 'SConscript'))
Return('objs')