Forráskód Böngészése

[GUI Engine] Add SConscript for libraries.

bernard 8 éve
szülő
commit
380754f4fd
1 módosított fájl, 14 hozzáadás és 0 törlés
  1. 14 0
      components/gui/libraries/SConscript

+ 14 - 0
components/gui/libraries/SConscript

@@ -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')