#==============================================================================
#   Copyright (c) 2010 Gevorg Voskanyan
#   Copyright (c) 2001-2010 Joel de Guzman
#   Copyright (c) 2001-2010 Hartmut Kaiser
#
#   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)
#==============================================================================

# build all examples

project : requirements <library>/boost/spirit//boost_spirit ;

local examples = [ glob-tree "[jJ]amfile" "[jJ]amfile.v2" ] ;

for local ex in $(examples) {
   local dir = $(ex:P) ;
   if $(dir) != "" && $(dir) != "." {
      build-project $(dir) ;
   }
}

