quickbook/Jamfile.v2
Daniel James 67efb9f2e5 Put language version in default-build instead of requirements
Fixes a build bug for the unit tests, see:

12decb3ce6 (commitcomment-26676662)

Probably a good idea as it also allows the language versions to be overriden at
the command line. Should probably also arrange the unit test build a bit
better.
2018-01-06 01:34:19 +00:00

58 lines
1.4 KiB
Plaintext

#==============================================================================
# Copyright (c) 2002 2004 2006 Joel de Guzman
# Copyright (c) 2004 Eric Niebler
# Copyright (c) 2015 Rene Rivera
# http://spirit.sourceforge.net/
#
# Use, modification and distribution is 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)
#==============================================================================
project quickbook
: requirements
<toolset>gcc:<c++-template-depth>300
<toolset>darwin:<c++-template-depth>300
<toolset>gcc:<cflags>-g0
<toolset>darwin:<cflags>-g0
<toolset>msvc:<cflags>/wd4709
<warnings>all
<define>BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE
: default-build
<cxxstd>0x
;
import boostcpp ;
import path ;
import option ;
local DIST_DIR = [ option.get distdir ] ;
if $(DIST_DIR) {
DIST_DIR = [ path.root [ path.make $(DIST_DIR) ] [ path.pwd ] ] ;
} else {
DIST_DIR = [ path.join $(BOOST_ROOT) dist ] ;
}
local DIST_BIN = [ path.join $(DIST_DIR) bin ] ;
# Install quickbook by default.
install dist-bin
:
src//quickbook
:
<install-type>EXE
<location>$(DIST_BIN)
:
release
;
# Target for quickbook toolset's auto build.
alias quickbook
: src//quickbook
: release
;
explicit quickbook
;