# Hamigaki Iostreams Library Example Jamfile

# Copyright Takeshi Mouri 2006, 2007.
# Distributed under 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://hamigaki.sourceforge.jp/libs/iostreams for library home page.

subproject libs/iostreams/example ;

{

template iostreams
    : # sources
    : # build requirements
        <define>BOOST_ALL_NO_LIB=1
        <include>$(HAMIGAKI_ROOT)  <sysinclude>$(HAMIGAKI_ROOT)
        <include>$(BOOST_INCLUDE)  <sysinclude>$(BOOST_INCLUDE)
        <library-path>$(BOOST_LIBPATH)
        <vc-8_0><*><cflags>-wd4996
        <vc-8_0><*><cflags>-wd4819
    : # build variants
    ;

exe background_copy_example
    :
        background_copy_example.cpp
        <template>iostreams
    :
        <threading>multi
        find-boost-thread-lib
    ;

exe base64_encoder_example
    :
        base64_encoder_example.cpp
        <template>iostreams
    :
    ;

}
