[Scons-users] finding out which env causes this error: Two different environments were specified for target

Mats Wichmann mats at wichmann.us
Fri Mar 25 11:26:08 EDT 2022


On 3/25/22 09:23, daggs wrote:

> I do something like this:
> for folder in [ a, b, c ]:
>     for modes in [ y. z ]:
>         export('mode')
>         sconscript("src/" + folder + "/SConscript", variant_dir = "out/" + folder + "." + mode, duplicate = 0. export('env'))
> 
> the issue occurs when I define InstallAs in folder b
> if I remove it and add prints to the targets, I see them all ok.

And what target is defined by the InstallAs call?



More information about the Scons-users mailing list