[Scons-users] Scons and external file generator

Gary Oberbrunner garyo at oberbrunner.com
Thu Nov 20 05:36:17 EST 2014


On Thu, Nov 20, 2014 at 3:59 AM, Непомнящий Евгений Игоревич
<johnny at topazelectro.ru> wrote:
> Hello, Dirk
>
>> what you want to do is define a Builder/Tool for your application
>> "gen.exe", and then add a customized Emitter. How this can be done is
>>  described at    http://scons.org/wiki/ToolsForFools
>> . In the Emitter, you then have to parse your input file (*.in) and
>> return the proper lists of "targets" and "sources" for your build step.
>
> Yes, I know about this method. But gen.exe is a compiler of some
> language. And its some complex and errorprone to write my own compiler
> of this language.
>
> Maybe exist another way?

Yes.  See http://www.scons.org/wiki/DynamicSourceGenerator for more details.

-- 
Gary


More information about the Scons-users mailing list