[Scons-users] How to put varient dir totally out side of the Source tree
Mats Wichmann
mats at wichmann.us
Wed Jul 31 16:32:33 EDT 2024
On 7/31/24 13:12, Subrata Dasgupta via Scons-users wrote:
> Hi All,
> I am new to Scons. I am currently trying to build a project using Scons.
> Build within source tree is working for me. I kept multiple SConstruct
> files within various source tree and internally calling them as required.
>
> But I am not sure how to separate the build output and source using
> VariantDir call when variant_dir is totally out side of the source tree.
>
> Please suggest how to achieve this. A small example will be very helpful.
This has to do with target selection. SCons does not by default select
targets outside the tree, so if you put the variantdir outside, then
nothing in the variantdir will be built by default - you have to tell
it. To see if this is your problem, try a build like this:
scons /
More information about the Scons-users
mailing list