[Scons-users] [c++] Automatically choosing sources for linking

Dirk Bächle tshortik at gmx.de
Sat Mar 1 05:48:52 EST 2014


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



More information about the Scons-users mailing list