Fwd: Working with compilers for embedded software

Bill Deegan <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CF0JVDPjWAdxFo6ffrXBfUcyyZG-JdeAdwpPX76uLZkJA@mail.gmail.com>
---------- 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

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
SConscript (application/octet-stream, 298 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.