|
Персональные инструменты |
|||
|
SconsDynamicallyAddTargetToExecutorМатериал из CustisWikiВерсия от 02:05, 9 октября 2009; StasFomin (обсуждение | вклад)
I scan MainFile, and then I see inclusion of Generated1 file, I add something like this: cmd=env.Command(Generated1, Generator, RunMePlease) But actually I need cmd=env.Command([Generated1,Generated2,…,GeneratedN], Generator, RunMePlease) but I must add targets incrementally during MainFile scan… So the question is: How to dynamically add targets to Command? I try something like Generator.executor.targets.append(env.fs.Entry(GeneratedN)) but it seems not working… |
||