1#============================================================================== 2# Copyright (c) 2002 2004 2006 Joel de Guzman 3# Copyright (c) 2004 Eric Niebler 4# Copyright (c) 2015 Rene Rivera 5# http://spirit.sourceforge.net/ 6# 7# Use, modification and distribution is subject to the Boost Software 8# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 9# http://www.boost.org/LICENSE_1_0.txt) 10#============================================================================== 11 12project quickbook 13 : requirements 14 <toolset>gcc:<c++-template-depth>300 15 <toolset>darwin:<c++-template-depth>300 16 <toolset>gcc:<cflags>-g0 17 <toolset>darwin:<cflags>-g0 18 <toolset>msvc:<cflags>/wd4709 19 <warnings>all 20 <define>BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE 21 : default-build 22 <cxxstd>0x 23 ; 24 25import boostcpp ; 26import path ; 27import option ; 28 29local DIST_DIR = [ option.get distdir ] ; 30if $(DIST_DIR) { 31 DIST_DIR = [ path.root [ path.make $(DIST_DIR) ] [ path.pwd ] ] ; 32} else { 33 DIST_DIR = [ path.join $(BOOST_ROOT) dist ] ; 34} 35local DIST_BIN = [ path.join $(DIST_DIR) bin ] ; 36 37# Install quickbook by default. 38 39install dist-bin 40 : 41 src//quickbook 42 : 43 <install-type>EXE 44 <location>$(DIST_BIN) 45 : 46 release 47 ; 48 49# Target for quickbook toolset's auto build. 50 51alias quickbook 52 : src//quickbook 53 : release 54 ; 55 56explicit quickbook 57 ; 58