[Scons-users] [c++] Automatically choosing sources for linking
Bill Deegan
bill at baddogconsulting.com
Sat Mar 1 15:03:06 EST 2014
Note that env['CPPPATH'] can be and often is a list of strings, or Nodes().
-Bill
On Sat, Mar 1, 2014 at 2:48 AM, Dirk Bächle <tshortik at gmx.de> wrote:
> On 01.03.2014 11:29, Viktor Dick wrote:
>
>> Hi,
>> I found the solution by further going through the source code of the
>> scanner:
>>
>
> Well done, and thanks for the positive feedback.
>
>
> includes = scanner(node,env,env.Dir(env["CPPPATH"]))
>>
>> This also works with VariantDir, so I have a working solution now and it
>> is significantly faster than delegating the work to g++. I guess I will
>> create an account on the wiki page sometime in the next days and write
>> down the recipe there.
>>
>
> That would really help the project a lot, so thank you very much in
> advance.
>
>
> Best regards,
>
> Dirk
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20140301/95b9e85c/attachment.htm
More information about the Scons-users
mailing list