mirror of
https://github.com/boostorg/callable_traits.git
synced 2026-02-09 11:02:29 +00:00
53 lines
1.4 KiB
Plaintext
53 lines
1.4 KiB
Plaintext
# Copyright Barrett Adair 2016
|
|
# Copyright Vladimir Prus 2002-2006.
|
|
# Copyright Dave Abrahams 2005-2006.
|
|
# Copyright Rene Rivera 2005-2007.
|
|
# Copyright Douglas Gregor 2005.
|
|
#
|
|
# 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)
|
|
|
|
import package ;
|
|
|
|
import sequence ;
|
|
import xsltproc ;
|
|
import set ;
|
|
import path ;
|
|
import link ;
|
|
|
|
# I have no idea what I'm doing
|
|
|
|
project callable_traits
|
|
: requirements <include>.
|
|
|
|
|
|
# Disable auto-linking for all targets here, primarily because it caused
|
|
# troubles with V2.
|
|
<define>BOOST_ALL_NO_LIB=1
|
|
<toolset>como:<link>static
|
|
<toolset>como-linux:<define>_GNU_SOURCE=1
|
|
# When building docs within Boost, we want the standard Boost style
|
|
<xsl:param>boost.defaults=Boost
|
|
: usage-requirements <include>.
|
|
: build-dir build
|
|
;
|
|
|
|
import boostbook : boostbook ;
|
|
|
|
boostbook callable_traits
|
|
:
|
|
doc/boost.xml
|
|
:
|
|
|
|
<dependency>./doc/autodoc.xml
|
|
<implicit-dependency>./callable_traits/doc/callable_traits
|
|
<xsl:param>boost.libraries=../../libs/libraries.htm
|
|
<format>html:<xsl:param>chunker.output.doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
<format>html:<xsl:param>chunker.output.doctype-system="http://www.w3.org/TR/html4/loose.dtd"
|
|
;
|
|
|
|
install images : [ glob doc/src/images/*.png ] : <location>doc/html/images ;
|
|
explicit images ;
|
|
build-project doc ;
|