[Scons-users] Fwd: Working with compilers for embedded software
Bill Deegan
bill at baddogconsulting.com
Wed Feb 16 13:07:17 EST 2022
---------- Forwarded message ---------
From: ignace danneels
Date: Wed, Feb 16, 2022 at 4:59 AM
Subject: Re: Working with compilers for embedded software
To: Bill Deegan
Yes, please!
You are the developer. Do you also answer in mails, or only through
the user-list?
How does the variant_dir work with SConscript files?
I have following organization
in top folder
A (component subfolder)
Sconscript
Can contain other subfolders, in which the process of calling the
Sconscript of subfolders is repeated.
B (component folder)
Sconscript
C (component folder
Sconscript
Sconstruct file
I want a "build" folder in the top folder where each component is
reflected in the build folder, so I have
in top folder
A
AA
AB
B
C
build
A
B
C
but if my Sconstruct call
o = SConscript(f'{subdir}/SConscript', duplicate=False,
variant_dir='build')
In the Sconscript files
I get
Running sconscript in 01_FBL_IF
No Objects found!
scons: done reading SConscript files.
scons: Building targets ...
Linking binary.exeexe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20220216/9d9ea881/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SConscript
Type: application/octet-stream
Size: 298 bytes
Desc: not available
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20220216/9d9ea881/attachment.obj>
More information about the Scons-users
mailing list