# Boost serialization Library Build Jamfile
#  (C) Copyright Robert Ramey 2002-2004.
#  Use, modification, and distribution are subject to the
#  Boost Software License, Version 1.0. (See accompanying file
#  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
#  See http://www.boost.org/libs/serialization for the library home page.

subproject libs/serialization/example ;

rule demo-bsl-build ( demo-name )
{
    exe $(demo-name)
        : # sources
            $(demo-name).cpp
            <lib>../build/boost_serialization
        : # requirements
            <include>$(BOOST_ROOT)  
            <sysinclude>$(BOOST_ROOT)
            <borland><*><cxxflags>-w-8080
            <msvc><release><cxxflags>-Gy
            <vc7><release><cxxflags>-Gy
            <vc7.1><release><cxxflags>-Gy
        : # default build
            debug
            <runtime-link>static
    ;
}

demo-bsl-build demo ;
demo-bsl-build demo_auto_ptr ;
demo-bsl-build demo_exception ;
demo-bsl-build demo_fast_archive ;
demo-bsl-build demo_pimpl ;
demo-bsl-build demo_portable_archive ;
demo-bsl-build demo_shared_ptr ;
demo-bsl-build demo_xml ;
demo-bsl-build demo_xml_save ;
demo-bsl-build demo_xml_load ;
