[Scons-users] Get a list of emitted targets from the previous run
Bill Deegan
bill at baddogconsulting.com
Tue Jun 15 12:25:52 EDT 2021
Erik,
Why are you parsing the file in the emitter phase?
Also, please tell me that you're not doing your generation in process, but
rather shelling out to a python (or other script) to generate..
-Bill
On Mon, Jun 14, 2021 at 11:56 PM Erik Kazandjian <erik.kazandjian at gmail.com>
wrote:
> Hi,
>
> In our project we have added some custom builder (with emitters and
> actions) to parse yang files and generate C++ out of that. As more and more
> yang files are added and getting complexer I would like to have the
> possibility (with a command line option) to by pass this yang parsing in
> the emitter pagase. Of course if I woud just return [], source in my
> emitter all my SConscripts would see the generated targewts as empty and
> create empty libraries (which gives linker issues). So my question is,
> suppose I have this command line option activated, is there a way to see
> which targets were emitted in the previous build so I can return them
> without having to do the yang analysis.
>
> Regards
>
> Erik
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20210615/afd2a6a5/attachment.htm>
More information about the Scons-users
mailing list