Commits

Virgil Dupras committed afa9641

Fixed runtemplate so that the XiblessSupport unit is compiled in the RunUI executable.

Comments (0)

Files changed (1)

xibless/runtemplate/wscript

 
 def build(ctx):
     ctx.srcnode.make_node('autogen').mkdir()
-    xibless.generate('MainMenu.py', 'autogen/MainMenu.h')
-    xibless.generate(SCRIPT_PATH, 'autogen/MainScript.h', runmode=True)
+    xibless.generate('MainMenu.py', 'autogen/MainMenu')
+    xibless.generate(SCRIPT_PATH, 'autogen/MainScript', runmode=True)
     infoplist = ctx.srcnode.find_node("Info.plist")
     info = plistlib.readPlist(infoplist.abspath())
     appname = info['CFBundleName']
     ctx.program(
         features      = 'c cprogram',
         target        = appnode.find_node("Contents").find_node("MacOS").make_node(executablename),
-        source        = 'main.m',
+        source        = ['main.m'] + ctx.srcnode.ant_glob('autogen/*.m'),
         includes      = 'autogen',
         use           = 'COCOA',
     )