# Build all of the necessary boost libraries and set up and
# environment that has all of the necessary includes.

# Copyright 2003 Walter Landry

# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.

# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA


Import('env')

boost_env=env.Copy()

boost_env.Append(CPPPATH=['#/src/boost'])
Export('boost_env')

libboost_files=[]
Export('libboost_files')

SConscript('libs/SConscript')


libboost_shared=boost_env.SharedLibrary('boost',libboost_files)
libboost_static=boost_env.StaticLibrary('boost',libboost_files)

Export('libboost_static')
Export('libboost_shared')
