[Scons-users] Reading a file in an emitter

Bill Deegan bill at baddogconsulting.com
Thu Mar 19 01:22:03 EDT 2015


William,

Sounds like you perhaps should use a scanner rather than an emitter?

search for "scanner objects" in
http://www.scons.org/doc/2.3.2/HTML/scons-man.html

-Bill

On Wed, Mar 18, 2015 at 3:35 PM, William Roberts <bill.c.roberts at gmail.com>
wrote:

> I am attempting to read a source file passed in via source argument in my
> emmitter. However, I can't open the file, as the source file I am trying to
> read has not been symlinked into my variant directory.
>
> CWD: <root>out/vm
> IOError: [Errno 2] No such file or directory: 'src/miniat_java.i'
>
> Is their a proper way to read a source file while in the emitter and
> respect the virant dir?
>
>
> --
> Respectfully,
>
> William C Roberts
>
>
> _______________________________________________
> 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/20150318/2535de9a/attachment.html>


More information about the Scons-users mailing list