title: Crossplatform building Boost with SCons
body: <p>I tried hard but couldn't find an example of using SCons (or any build system for that matter) to build on both gcc and mvc++ with boost libraries. </p>
  
  <p>Currently my SConstruct looks like</p>
  
  <pre><code>env = Environment()
  env.Object(Glob('*.cpp'))
  env.Program(target='test', source=Glob('*.o'), LIBS=['boost_filesystem-mt', 'boost_system-mt', 'boost_program_options-mt'])
  </code></pre>
  
  <p>Which works on Linux but doesn't with Visual C++ which starting with 2010 doesn't let you specify global include directories.</p>