[Scons-users] Modify CXXFile Builder

Dirk Bächle tshortik at gmx.de
Tue Nov 18 12:36:34 EST 2014


On 18.11.2014 18:07, Dirk Bächle wrote:
> Hi Stijn,
> [...]
>
>   env.Flex('file.in','scanner.l')
>   env.Substfile('file.cc','file.in', SUBST_DICT = {'#include 
> <FlexLexer.h>' : ''})
>
Just checked the MAN page, the last line should use the Textfile() 
Builder instead, I guess:

   env.Textfile('file.cc', env.File('file.in'), SUBST_DICT = {'#include 
<FlexLexer.h>' : ''})

Dirk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20141118/5a850bc0/attachment.html>


More information about the Scons-users mailing list