[Scons-users] Builder Chains Not Working?
Mark Ribau
mribau at realtaentertainment.com
Wed Nov 14 19:15:43 EST 2012
I renamed all the files when I copy pasted into my email to protect "trade
secrets" or whatever. :-P It is correct in the actual file. Fixed
copypasta should be:
in deeper SConscripts:
env.Builder1("target0.json", "source0.json")
in Builder1's emitter:
env.MultiBuilder1("target1.json", "target0.json")
in a parent SConscript:
ret = env.MultiBuilder1("target2.json", ['target1.json', 'source2.json'])
env.Alias( "myalias", True, ret)
ret = env.Builder2("target2.binaryplatform", "target2.json")
env.Alias( "myalias", True, ret)
ret = env.InstallAs(os.path.join(installBase,"target2.binary"),
"target2.binaryplatform")
env.Alias( "myalias", True, ret)
*
*
*
*
----
*mark ribau*
*software engineer
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20121114/e59dcec7/attachment.htm>
More information about the Scons-users
mailing list