title: SCons setup for hierarchical source but single target
body: <p>I have a C++/Python project that I've been working on and so far have relied on Visual Studio to manage the builds.  Now I want to automate the build process, hopefully include multiple platform support (it's all standard C++/Python), and think SCons could be the tool to do the job.</p>
  
  <p>There's a lot of source files involved, in multiple directories, but a (stereo)typical example is as follows:</p>
  
  <pre><code>foo.lib
    directory_1
      bar1_1.cpp
      bar1_2.cpp
      ... etc. ...
    directory_2
      bar2_1.cpp
      bar2_2.cpp
      ... etc. ...
  </code></pre>
  
  <p>So, in other words, the source files are in a hierarchy, but there's only a single target.  (The hierarchy is matched in the namespaces used in the code, but this is superfluous for purposes of this question.)</p>
  
  <p>My question is: What's the best way to structure the SConstruct and SConscript files?  I read the SCons documentation, particularly, the Hierarchical Builds section and the idea to use multiple SConscript files with suitable 'SConscript' calls.  All seems clear, and particularly neat.  However it would seem this is intended for a hierarchy with multiple targets.  Can I use this same feature where there's only one target?</p>
  
  <p>(I did think of a top level SConstruct/SConscript file, at least for the library in question, listing all the source file with subdirectories, but doesn't "feel" the best way to do it.  Maybe indeed this is the way forward?)</p>
  
  <p>Many thanks in advance for any advice / insight.</p>