Compare commits

..

No commits in common. "boost-0.7.2" and "master" have entirely different histories.

410 changed files with 24832 additions and 1 deletions

38
.circleci/autocancel.sh Normal file
View file

@ -0,0 +1,38 @@
#!/bin/bash
# Auto-cancel preceding workflows
# https://discuss.circleci.com/t/workaround-auto-cancel-redundant-builds-on-the-default-branch/39468
set -x
## Get the name of the workflow and the related pipeline number
curl --header "Circle-Token: $PERS_API_TOKEN_BOOST_5" --request GET "https://circleci.com/api/v2/workflow/${CIRCLE_WORKFLOW_ID}" -o current_workflow.json
WF_NAME=$(jq -r '.name' current_workflow.json)
CURRENT_PIPELINE_NUM=$(jq -r '.pipeline_number' current_workflow.json)
CURRENT_PIPELINE_CREATED=$(jq -r '.created_at' current_workflow.json)
TIME_THRESHOLD=$(date --utc +'%Y-%m-%dT%TZ' -d "${CURRENT_PIPELINE_CREATED} -10 minutes")
## Get the IDs of pipelines created by the current user on the same branch. (Only consider pipelines that have a pipeline number inferior to the current pipeline)
PIPE_IDS=$(curl --header "Circle-Token: $PERS_API_TOKEN_BOOST_5" --request GET "https://circleci.com/api/v2/project/gh/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/pipeline?branch=$CIRCLE_BRANCH"|jq -r --argjson CURRENT_PIPELINE_NUM "$CURRENT_PIPELINE_NUM" --arg TIME_THRESHOLD "${TIME_THRESHOLD}" '.items[] | select(.state == "created") | select(.number < $CURRENT_PIPELINE_NUM) | select(.created_at > $TIME_THRESHOLD) | .id')
## Get the IDs of currently running/on_hold workflows that have the same name as the current workflow, in all previously created pipelines.
if [ ! -z "$PIPE_IDS" ]; then
for PIPE_ID in $PIPE_IDS
do
curl --header "Circle-Token: $PERS_API_TOKEN_BOOST_5" --request GET "https://circleci.com/api/v2/pipeline/${PIPE_ID}/workflow"|jq -r --arg WF_NAME "${WF_NAME}" '.items[]|select(.status == "on_hold" or .status == "running") | select(.name == $WF_NAME) | .id' >> WF_to_cancel.txt
done
fi
## Cancel any currently running/on_hold workflow with the same name
if [ -s WF_to_cancel.txt ]; then
echo "Cancelling the following workflow(s):"
cat WF_to_cancel.txt
while read WF_ID;
do
curl --header "Circle-Token: $PERS_API_TOKEN_BOOST_5" --request POST https://circleci.com/api/v2/workflow/$WF_ID/cancel
done < WF_to_cancel.txt
## Allowing some time to complete the cancellation
sleep 2
else
echo "Nothing to cancel"
fi

17
.circleci/config.yml Normal file
View file

@ -0,0 +1,17 @@
version: 2.1
jobs:
build:
docker:
- image: cppalliance/boost_superproject_build:24.04-v3
parallelism: 2
steps:
- checkout
- run: ./.circleci/autocancel.sh || true
- run: wget "https://raw.githubusercontent.com/boostorg/release-tools/master/ci_boost_common.py" -P ${HOME}
- run: wget "https://raw.githubusercontent.com/boostorg/release-tools/master/ci_boost_release.py" -P ${HOME}
- run: python3 ${HOME}/ci_boost_release.py checkout_post
# - run: python3 ${HOME}/ci_boost_release.py dependencies_override
- run: '[ "$CIRCLE_NODE_INDEX" != "0" ] || EOL=LF python3 ${HOME}/ci_boost_release.py test_pre'
- run: '[ "$CIRCLE_NODE_INDEX" != "1" ] || EOL=CRLF python3 ${HOME}/ci_boost_release.py test_pre'
- run: '[ "$CIRCLE_NODE_INDEX" != "0" ] || EOL=LF python3 ${HOME}/ci_boost_release.py test_override'
- run: '[ "$CIRCLE_NODE_INDEX" != "1" ] || EOL=CRLF python3 ${HOME}/ci_boost_release.py test_override'

251
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,251 @@
name: CI
on:
pull_request:
push:
branches:
- master
- develop
- feature/**
tags:
- '**'
jobs:
b2-posix:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
- os: ubuntu-22.04
- os: ubuntu-22.04-arm
- os: ubuntu-24.04
- os: ubuntu-24.04-arm
- os: macos-13
- os: macos-14
- os: macos-15
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup Boost
run: |
./bootstrap.sh
./b2 -d0 headers
- name: Build Boost
run: |
./b2 -j3 stage
- name: Install Boost
run: |
./b2 -j3 --prefix=$HOME/.local install
- name: Test Boost
run: |
cd status
../b2 -j3 quick
b2-windows:
strategy:
fail-fast: false
matrix:
include:
- os: windows-2019
- os: windows-2022
- os: windows-2025
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup Boost
shell: cmd
run: |
cmd /c bootstrap
b2 -d0 headers
- name: Build Boost
run: |
./b2 -j3 stage
- name: Install Boost
run: |
./b2 -j3 install
- name: Test Boost
run: |
cd status
../b2 -j3 quick
cmake-install-posix:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
- os: ubuntu-22.04
- os: ubuntu-22.04-arm
- os: ubuntu-24.04
- os: ubuntu-24.04-arm
- os: macos-13
- os: macos-14
- os: macos-15
runs-on: ${{matrix.os}}
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Configure Boost
run: |
mkdir __build__ && cd __build__
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=~/.local ..
- name: Build Boost
run: |
cd __build__
cmake --build . -j 3
- name: Install Boost
run: |
cd __build__
cmake --build . -j 3 --target install
cmake-install-windows:
strategy:
fail-fast: false
matrix:
include:
- os: windows-2019
- os: windows-2022
- os: windows-2025
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Configure Boost
run: |
mkdir __build__ && cd __build__
cmake -DBUILD_SHARED_LIBS=ON ..
- name: Build Boost
run: |
cd __build__
cmake --build . -j 3
- name: Install Boost
run: |
cd __build__
cmake --build . -j 3 --target install
cmake-test-posix:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Configure Boost
run: |
mkdir __build__ && cd __build__
cmake -DBUILD_TESTING=ON -DBOOST_EXCLUDE_LIBRARIES="process;geometry" ..
- name: Build tests
run: |
cd __build__
cmake --build . -j 3 --target tests
- name: Run tests
run: |
cd __build__
ctest --output-on-failure --no-tests=error -j 3
cmake-test-posix-quick:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
- os: ubuntu-22.04
- os: ubuntu-22.04-arm
- os: ubuntu-24.04
- os: ubuntu-24.04-arm
- os: macos-13
- os: macos-14
- os: macos-15
runs-on: ${{matrix.os}}
timeout-minutes: 90
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Configure Boost
run: |
mkdir __build__ && cd __build__
cmake -DBUILD_TESTING=ON ..
- name: Build tests
run: |
cd __build__
cmake --build . -j 3 --target tests-quick
- name: Run tests
run: |
cd __build__
ctest --output-on-failure --no-tests=error -j 3 -R quick
cmake-test-windows-quick:
strategy:
fail-fast: false
matrix:
include:
- os: windows-2019
- os: windows-2022
- os: windows-2025
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Configure Boost
run: |
mkdir __build__ && cd __build__
cmake -DBUILD_TESTING=ON ..
- name: Build tests
run: |
cd __build__
cmake --build . -j 3 --target tests-quick
- name: Run tests
run: |
cd __build__
ctest --output-on-failure --no-tests=error -j 3 -R quick -C Debug

132
.github/workflows/commit-bot.yml vendored Normal file
View file

@ -0,0 +1,132 @@
name: Commit Bot
# Instructions
#
# - One-time setup: create a personal access token with permissions. Then configure it here
# as secrets.CI_PAT. https://github.com/boostorg/boost/settings/secrets/actions
# The reason is explained in https://github.com/orgs/community/discussions/25702
# "If an action pushes code using the repository's GITHUB_TOKEN, a new workflow will not run"
#
# - Processing of either the 'master' or 'develop' branch may be stopped by creating the variables
# vars.block_master or vars.block_develop with any value.
# https://github.com/boostorg/boost/settings/variables/actions
#
# To avoid infinite loops, don't trigger on "push"
on:
schedule:
- cron: "0,30 * * * *"
concurrency:
group: ${{format('commit-bot-{0}:{1}', github.repository, github.ref)}}
cancel-in-progress: true
jobs:
update-modules:
runs-on: ubuntu-latest
name: Commit Bot
if: github.repository == 'boostorg/boost'
steps:
- name: Check for module updates
id: branches
run: |
set -xe
branches=""
if [[ "${{ github.event_name }}" == "push" ]]; then
if [[ ! -n "${{ vars.block_master }}" && "${{ github.ref_name }}" == "master" ]]; then
branches="master"
elif [[ ! -n "${{ vars.block_develop }}" && "${{ github.ref_name }}" == "develop" ]]; then
branches="develop"
else
branches="${{ github.ref_name }}"
fi
else
# from a schedule:
if [[ ! -n "${{ vars.block_master }}" ]]; then
branches="master"
fi
if [[ ! -n "${{ vars.block_develop }}" ]]; then
branches="${branches} develop"
fi
fi
echo "branches=$branches" >> $GITHUB_OUTPUT
- name: Checkout master repository
uses: actions/checkout@v4
if: contains(steps.branches.outputs.branches, 'master')
with:
ref: master
path: master
persist-credentials: false
- name: Checkout develop repository
uses: actions/checkout@v4
if: contains(steps.branches.outputs.branches, 'develop')
with:
ref: develop
path: develop
persist-credentials: false
- name: Check for module updates
run: |
branches="${{ steps.branches.outputs.branches }}"
# Set up Git
git config --global user.name "boost-commitbot"
git config --global user.email "boost-commitbot@example.com"
# Update each branch
for branch in $branches; do
cd $branch
module_paths=$(git config --file .gitmodules --get-regexp '^submodule\..*\.path$')
while IFS=' ' read -r key path; do
submodule_name=$(echo "$key" | awk -F '.' '{print $2}')
submodule_path=$(echo "$path")
url=$(git config --file .gitmodules --get-regexp "^submodule\.$submodule_name\.url$" | awk '{print $2}')
if [[ ! "$url" =~ ^https:// ]]; then
basicreponame=$(basename $url)
url=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY_OWNER}/${basicreponame}
fi
hash=$(git ls-remote "$url" "refs/heads/$branch" | cut -f 1)
hash="${hash#"${hash%%[![:space:]]*}"}"
hash="${hash%"${hash##*[![:space:]]}"}"
commit_id="${hash:0:8}"
previous_hash=$(git ls-tree HEAD "$submodule_path" | awk '{print $3}')
previous_hash="${previous_hash#"${previous_hash%%[![:space:]]*}"}"
previous_hash="${previous_hash%"${previous_hash##*[![:space:]]}"}"
previous_commit_id="${previous_hash:0:8}"
if [ "$hash" == "$previous_hash" ]; then
echo "$submodule_name ($commit_id): OK"
else
echo "$submodule_name: $previous_commit_id -> $commit_id"
set -x
set +e
git submodule update --init "$submodule_path"
git submodule update --remote "$submodule_path"
git add "$submodule_path"
git commit -m "Update $submodule_name from $branch"
set -e
set +x
fi
done <<< "$module_paths"
cd ..
done
- name: Push changes from master
uses: ad-m/github-push-action@v0.8.0
if: contains(steps.branches.outputs.branches, 'master')
with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.CI_PAT }}
branch: master
directory: master
- name: Push changes from develop
uses: ad-m/github-push-action@v0.8.0
if: contains(steps.branches.outputs.branches, 'develop')
with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.CI_PAT }}
branch: develop
directory: develop

149
.github/workflows/release-cmake.yml vendored Normal file
View file

@ -0,0 +1,149 @@
name: Release
on:
push:
tags:
- boost-*
jobs:
release-posix-cmake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: ${{ github.ref_name }}
submodules: true
- name: Cleanup
shell: bash
run: |
find ${{ github.ref_name }} -name ".git" -prune -exec rm -rf {} +
- name: Create archives
run: |
tar -czf ${{ github.ref_name }}-cmake.tar.gz ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-cmake.tar.gz > ${{ github.ref_name }}-cmake.tar.gz.txt
tar -cJf ${{ github.ref_name }}-cmake.tar.xz ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-cmake.tar.xz > ${{ github.ref_name }}-cmake.tar.xz.txt
- uses: softprops/action-gh-release@v2
with:
files: |
${{ github.ref_name }}-cmake.tar.gz
${{ github.ref_name }}-cmake.tar.gz.txt
${{ github.ref_name }}-cmake.tar.xz
${{ github.ref_name }}-cmake.tar.xz.txt
release-windows-cmake:
runs-on: windows-latest
needs: release-posix-cmake
steps:
- uses: actions/checkout@v4
with:
path: ${{ github.ref_name }}
submodules: true
- name: Cleanup
shell: bash
run: |
find ${{ github.ref_name }} -name ".git" -prune -exec rm -rf {} +
- name: Create archives
shell: cmd
run: |
7z a ${{ github.ref_name }}-cmake.zip ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-cmake.zip > ${{ github.ref_name }}-cmake.zip.txt
7z a ${{ github.ref_name }}-cmake.7z ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-cmake.7z > ${{ github.ref_name }}-cmake.7z.txt
- uses: softprops/action-gh-release@v2
with:
files: |
${{ github.ref_name }}-cmake.zip
${{ github.ref_name }}-cmake.zip.txt
${{ github.ref_name }}-cmake.7z
${{ github.ref_name }}-cmake.7z.txt
release-posix-b2-nodocs:
runs-on: ubuntu-latest
needs: release-windows-cmake
steps:
- uses: actions/checkout@v4
with:
path: ${{ github.ref_name }}
submodules: true
- name: Cleanup
shell: bash
run: |
find ${{ github.ref_name }} -name ".git" -prune -exec rm -rf {} +
- name: Move headers, remove docs
shell: bash
run: |
cd ${{ github.ref_name }}
cp -r libs/*/include/boost libs/numeric/*/include/boost .
rm -rf libs/*/include libs/numeric/*/include
rm -rf libs/*/doc libs/numeric/*/doc
rm -f CMakeLists.txt
- name: Create archives
run: |
tar -czf ${{ github.ref_name }}-b2-nodocs.tar.gz ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-b2-nodocs.tar.gz > ${{ github.ref_name }}-b2-nodocs.tar.gz.txt
tar -cJf ${{ github.ref_name }}-b2-nodocs.tar.xz ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-b2-nodocs.tar.xz > ${{ github.ref_name }}-b2-nodocs.tar.xz.txt
- uses: softprops/action-gh-release@v2
with:
files: |
${{ github.ref_name }}-b2-nodocs.tar.gz
${{ github.ref_name }}-b2-nodocs.tar.gz.txt
${{ github.ref_name }}-b2-nodocs.tar.xz
${{ github.ref_name }}-b2-nodocs.tar.xz.txt
release-windows-b2-nodocs:
runs-on: windows-latest
needs: release-posix-b2-nodocs
steps:
- uses: actions/checkout@v4
with:
path: ${{ github.ref_name }}
submodules: true
- name: Cleanup
shell: bash
run: |
find ${{ github.ref_name }} -name ".git" -prune -exec rm -rf {} +
- name: Move headers, remove docs
shell: bash
run: |
cd ${{ github.ref_name }}
cp -r libs/*/include/boost libs/numeric/*/include/boost .
rm -rf libs/*/include libs/numeric/*/include
rm -rf libs/*/doc libs/numeric/*/doc
rm -f CMakeLists.txt
- name: Create archives
shell: cmd
run: |
7z a ${{ github.ref_name }}-b2-nodocs.zip ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-b2-nodocs.zip > ${{ github.ref_name }}-b2-nodocs.zip.txt
7z a ${{ github.ref_name }}-b2-nodocs.7z ${{ github.ref_name }}
sha256sum ${{ github.ref_name }}-b2-nodocs.7z > ${{ github.ref_name }}-b2-nodocs.7z.txt
- uses: softprops/action-gh-release@v2
with:
files: |
${{ github.ref_name }}-b2-nodocs.zip
${{ github.ref_name }}-b2-nodocs.zip.txt
${{ github.ref_name }}-b2-nodocs.7z
${{ github.ref_name }}-b2-nodocs.7z.txt

15
.gitignore vendored Normal file
View file

@ -0,0 +1,15 @@
/b2
/b2.exe
/bin.v2
/bjam
/bjam.exe
/bootstrap.log
/boost
/dist
/project-config.jam*
/stage
/stage_x64/
/user-config.jam
/.settings/
/.project
/.pydevproject

841
.gitmodules vendored
View file

@ -1,4 +1,845 @@
[submodule "system"]
path = libs/system
url = ../system.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "multi_array"]
path = libs/multi_array
url = ../multi_array.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "math"]
path = libs/math
url = ../math.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "smart_ptr"]
path = libs/smart_ptr
url = ../smart_ptr.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "parameter"]
path = libs/parameter
url = ../parameter.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "algorithm"]
path = libs/algorithm
url = ../algorithm.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "any"]
path = libs/any
url = ../any.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "concept_check"]
path = libs/concept_check
url = ../concept_check.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "python"]
path = libs/python
url = ../python.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "tti"]
path = libs/tti
url = ../tti.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "functional"]
path = libs/functional
url = ../functional.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "config"]
path = libs/config
url = ../config.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "log"]
path = libs/log
url = ../log.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "interprocess"]
path = libs/interprocess
url = ../interprocess.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "exception"]
path = libs/exception
url = ../exception.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "foreach"]
path = libs/foreach
url = ../foreach.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "spirit"]
path = libs/spirit
url = ../spirit.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "io"]
path = libs/io
url = ../io.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "units"]
path = libs/units
url = ../units.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "preprocessor"]
path = libs/preprocessor
url = ../preprocessor.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "format"]
path = libs/format
url = ../format.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "xpressive"]
path = libs/xpressive
url = ../xpressive.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "integer"]
path = libs/integer
url = ../integer.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "thread"]
path = libs/thread
url = ../thread.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "tokenizer"]
path = libs/tokenizer
url = ../tokenizer.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "timer"]
path = libs/timer
url = ../timer.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "inspect"]
path = tools/inspect
url = ../inspect.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "boostbook"]
path = tools/boostbook
url = ../boostbook.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "regex"]
path = libs/regex
url = ../regex.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "crc"]
path = libs/crc
url = ../crc.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "random"]
path = libs/random
url = ../random.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "serialization"]
path = libs/serialization
url = ../serialization.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "test"]
path = libs/test
url = ../test.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "date_time"]
path = libs/date_time
url = ../date_time.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "logic"]
path = libs/logic
url = ../logic.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "graph"]
path = libs/graph
url = ../graph.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "numeric_conversion"]
path = libs/numeric/conversion
url = ../numeric_conversion.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "lambda"]
path = libs/lambda
url = ../lambda.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "mpl"]
path = libs/mpl
url = ../mpl.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "typeof"]
path = libs/typeof
url = ../typeof.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "tuple"]
path = libs/tuple
url = ../tuple.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "utility"]
path = libs/utility
url = ../utility.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "dynamic_bitset"]
path = libs/dynamic_bitset
url = ../dynamic_bitset.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "assign"]
path = libs/assign
url = ../assign.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "filesystem"]
path = libs/filesystem
url = ../filesystem.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "function"]
path = libs/function
url = ../function.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "conversion"]
path = libs/conversion
url = ../conversion.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "optional"]
path = libs/optional
url = ../optional.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "property_tree"]
path = libs/property_tree
url = ../property_tree.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "bimap"]
path = libs/bimap
url = ../bimap.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "variant"]
path = libs/variant
url = ../variant.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "array"]
path = libs/array
url = ../array.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "iostreams"]
path = libs/iostreams
url = ../iostreams.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "multi_index"]
path = libs/multi_index
url = ../multi_index.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "bcp"]
path = tools/bcp
url = ../bcp.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "ptr_container"]
path = libs/ptr_container
url = ../ptr_container.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "statechart"]
path = libs/statechart
url = ../statechart.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "static_assert"]
path = libs/static_assert
url = ../static_assert.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "range"]
path = libs/range
url = ../range.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "rational"]
path = libs/rational
url = ../rational.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "iterator"]
path = libs/iterator
url = ../iterator.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "build"]
path = tools/build
url = ../build.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "quickbook"]
path = tools/quickbook
url = ../quickbook.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "graph_parallel"]
path = libs/graph_parallel
url = ../graph_parallel.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "property_map"]
path = libs/property_map
url = ../property_map.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "program_options"]
path = libs/program_options
url = ../program_options.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "detail"]
path = libs/detail
url = ../detail.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "interval"]
path = libs/numeric/interval
url = ../interval.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "ublas"]
path = libs/numeric/ublas
url = ../ublas.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "wave"]
path = libs/wave
url = ../wave.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "type_traits"]
path = libs/type_traits
url = ../type_traits.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "bind"]
path = libs/bind
url = ../bind.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "pool"]
path = libs/pool
url = ../pool.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "proto"]
path = libs/proto
url = ../proto.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "fusion"]
path = libs/fusion
url = ../fusion.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "function_types"]
path = libs/function_types
url = ../function_types.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "gil"]
path = libs/gil
url = ../gil.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "intrusive"]
path = libs/intrusive
url = ../intrusive.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "asio"]
path = libs/asio
url = ../asio.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "uuid"]
path = libs/uuid
url = ../uuid.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "litre"]
path = tools/litre
url = ../litre.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "circular_buffer"]
path = libs/circular_buffer
url = ../circular_buffer.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "mpi"]
path = libs/mpi
url = ../mpi.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "unordered"]
path = libs/unordered
url = ../unordered.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "signals2"]
path = libs/signals2
url = ../signals2.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "accumulators"]
path = libs/accumulators
url = ../accumulators.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "atomic"]
path = libs/atomic
url = ../atomic.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "scope_exit"]
path = libs/scope_exit
url = ../scope_exit.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "flyweight"]
path = libs/flyweight
url = ../flyweight.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "icl"]
path = libs/icl
url = ../icl.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "predef"]
path = libs/predef
url = ../predef.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "chrono"]
path = libs/chrono
url = ../chrono.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "polygon"]
path = libs/polygon
url = ../polygon.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "msm"]
path = libs/msm
url = ../msm.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "heap"]
path = libs/heap
url = ../heap.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "coroutine"]
path = libs/coroutine
url = ../coroutine.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "coroutine2"]
path = libs/coroutine2
url = ../coroutine2.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "ratio"]
path = libs/ratio
url = ../ratio.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "odeint"]
path = libs/numeric/odeint
url = ../odeint.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "geometry"]
path = libs/geometry
url = ../geometry.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "phoenix"]
path = libs/phoenix
url = ../phoenix.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "move"]
path = libs/move
url = ../move.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "locale"]
path = libs/locale
url = ../locale.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "auto_index"]
path = tools/auto_index
url = ../auto_index.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "container"]
path = libs/container
url = ../container.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "local_function"]
path = libs/local_function
url = ../local_function.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "context"]
path = libs/context
url = ../context.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "type_erasure"]
path = libs/type_erasure
url = ../type_erasure.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "multiprecision"]
path = libs/multiprecision
url = ../multiprecision.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "lockfree"]
path = libs/lockfree
url = ../lockfree.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "assert"]
path = libs/assert
url = ../assert.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "align"]
path = libs/align
url = ../align.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "type_index"]
path = libs/type_index
url = ../type_index.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "core"]
path = libs/core
url = ../core.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "throw_exception"]
path = libs/throw_exception
url = ../throw_exception.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "winapi"]
path = libs/winapi
url = ../winapi.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "boostdep"]
path = tools/boostdep
url = ../boostdep.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "lexical_cast"]
path = libs/lexical_cast
url = ../lexical_cast.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "sort"]
path = libs/sort
url = ../sort.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "convert"]
path = libs/convert
url = ../convert.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "endian"]
path = libs/endian
url = ../endian.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "vmd"]
path = libs/vmd
url = ../vmd.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "dll"]
path = libs/dll
url = ../dll.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "compute"]
path = libs/compute
url = ../compute.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "hana"]
path = libs/hana
url = ../hana.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "metaparse"]
path = libs/metaparse
url = ../metaparse.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "qvm"]
path = libs/qvm
url = ../qvm.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "fiber"]
path = libs/fiber
url = ../fiber.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "process"]
path = libs/process
url = ../process.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "stacktrace"]
path = libs/stacktrace
url = ../stacktrace.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "poly_collection"]
path = libs/poly_collection
url = ../poly_collection.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "beast"]
path = libs/beast
url = ../beast.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "mp11"]
path = libs/mp11
url = ../mp11.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "callable_traits"]
path = libs/callable_traits
url = ../callable_traits.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "contract"]
path = libs/contract
url = ../contract.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "check_build"]
path = tools/check_build
url = ../check_build.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "container_hash"]
path = libs/container_hash
url = ../container_hash.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "hof"]
path = libs/hof
url = ../hof.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "yap"]
path = libs/yap
url = ../yap.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "safe_numerics"]
path = libs/safe_numerics
url = ../safe_numerics.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "parameter_python"]
path = libs/parameter_python
url = ../parameter_python.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "headers"]
path = libs/headers
url = ../headers.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "boost_install"]
path = tools/boost_install
url = ../boost_install.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "outcome"]
path = libs/outcome
url = ../outcome.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "histogram"]
path = libs/histogram
url = ../histogram.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "variant2"]
path = libs/variant2
url = ../variant2.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "nowide"]
path = libs/nowide
url = ../nowide.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "docca"]
path = tools/docca
url = ../docca.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "cmake"]
path = tools/cmake
url = ../cmake.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "static_string"]
path = libs/static_string
url = ../static_string.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "stl_interfaces"]
path = libs/stl_interfaces
url = ../stl_interfaces.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "more"]
path = more
url = ../more.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "leaf"]
path = libs/leaf
url = ../leaf.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "json"]
path = libs/json
url = ../json.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "pfr"]
path = libs/pfr
url = ../pfr.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "describe"]
path = libs/describe
url = ../describe.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "lambda2"]
path = libs/lambda2
url = ../lambda2.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "property_map_parallel"]
path = libs/property_map_parallel
url = ../property_map_parallel.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "url"]
path = libs/url
url = ../url.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "mysql"]
path = libs/mysql
url = ../mysql.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "compat"]
path = libs/compat
url = ../compat.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "redis"]
path = libs/redis
url = ../redis.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "cobalt"]
path = libs/cobalt
url = ../cobalt.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "charconv"]
path = libs/charconv
url = ../charconv.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "scope"]
path = libs/scope
url = ../scope.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "boostlook"]
path = tools/boostlook
url = ../boostlook.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "parser"]
path = libs/parser
url = ../parser.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "mqtt5"]
path = libs/mqtt5
url = ../mqtt5.git
fetchRecurseSubmodules = on-demand
branch = .
[submodule "hash2"]
path = libs/hash2
url = ../hash2.git
fetchRecurseSubmodules = on-demand
branch = .

143
.travis.yml Normal file
View file

@ -0,0 +1,143 @@
# Use, modification, and distribution are
# 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)
#
# Copyright Rene Rivera 2015-2016.
# Copyright Peter Dimov 2017-2021.
branches:
only:
- master
- develop
- /feature\/.*/
dist: bionic
language: cpp
compiler: gcc
git:
submodules: false
env:
matrix:
- TRAVIS_EMPTY_JOB_WORKAROUND=true
matrix:
exclude:
- env: TRAVIS_EMPTY_JOB_WORKAROUND=true
include:
- env: SCRIPT=ci_boost_release MODE=check
addons:
apt:
packages:
- xsltproc
# Simple integrated status tests check.
- env: SCRIPT=ci_boost_status
# Same, but using release layout
- env: SCRIPT=ci_boost_status RELEASE=1
# Run 'quick' tests.
- env: SCRIPT=ci_boost_status TARGET=quick TOOLSET=gcc CXXSTD=03,11,14
compiler: g++
- env: SCRIPT=ci_boost_status TARGET=quick TOOLSET=clang CXXSTD=03,11,14
compiler: clang++
# Build Boost
- env: SCRIPT=ci_boost_build TOOLSET=gcc
compiler: g++
# Build Boost with release layout
- env: SCRIPT=ci_boost_build TOOLSET=gcc RELEASE=1
compiler: g++
# Build Boost with CMake
- env: CMAKE_BUILD=1
dist: xenial
compiler: g++
before_script: true
before_install: true
after_success: true
after_failure: true
after_script: true
addons:
apt:
packages:
- libzstd-dev
install:
- git submodule update --init --jobs 3
script:
- mkdir __build && cd __build
- cmake -DBOOST_INSTALL_LAYOUT=tagged -DBUILD_SHARED_LIBS=ON ..
- cmake --build .
# Install Boost with CMake
- env: CMAKE_INSTALL=1
compiler: g++
before_script: true
before_install: true
after_success: true
after_failure: true
after_script: true
install:
- pip install --user cmake
- git submodule update --init --jobs 3
script:
- mkdir __build && cd __build
- cmake -DBOOST_INSTALL_LAYOUT=tagged -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=~/.local ..
- cmake --build .
- cmake --build . --target install
# Test Boost with CMake
- env: CMAKE_TEST=1
dist: bionic
compiler: g++
before_script: true
before_install: true
after_success: true
after_failure: true
after_script: true
addons:
apt:
packages:
- liblzma-dev
- libzstd-dev
install:
- git submodule update --init --jobs 3
script:
- mkdir __build && cd __build
- cmake -DBUILD_TESTING=ON ..
- cmake --build . -j 3
- cmake --build . --target tests -j 3 -- -k
- ctest --output-on-failure -j 3 -R quick
before_install:
# Fetch the scripts to do the actual building/testing.
- git submodule update --init --jobs 3
- |
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_common.py" -P ..
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/${SCRIPT}.py" -P ..
install: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" install
before_script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" before_script
script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" script
after_success: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" after_success
after_failure: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" after_failure
after_script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" after_script

20
CMakeLists.txt Normal file
View file

@ -0,0 +1,20 @@
# Copyright 2019, 2021 Peter Dimov
# 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
cmake_minimum_required(VERSION 3.5...3.16)
# The default build type must be set before project()
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR AND NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
endif()
project(Boost VERSION 1.89.0 LANGUAGES CXX)
set(BOOST_SUPERPROJECT_VERSION ${PROJECT_VERSION})
set(BOOST_SUPERPROJECT_SOURCE_DIR ${PROJECT_SOURCE_DIR})
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/tools/cmake/include)
include(BoostRoot)

8
INSTALL Normal file
View file

@ -0,0 +1,8 @@
See ./index.html for information about this release. The "Getting Started"
section is a useful starting place.
---------------------------
Copyright Beman Dawes, 2008
Distributed under the Boost Software License, Version 1.0.
See ./LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt

485
Jamroot Normal file
View file

@ -0,0 +1,485 @@
# Copyright Vladimir Prus 2002-2006.
# Copyright Dave Abrahams 2005-2006.
# Copyright René Ferdinand Rivera Morell 2005-2024.
# 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)
# Usage:
#
# b2 [options] [properties] [install|stage]
#
# Builds and installs Boost.
#
# Targets and Related Options:
#
# install Install headers and compiled library files to the
# ======= configured locations (below).
#
# --prefix=<PREFIX> Install architecture independent files here.
# Default: C:\Boost on Windows
# Default: /usr/local on Unix, Linux, etc.
#
# --exec-prefix=<EPREFIX> Install architecture dependent files here.
# Default: <PREFIX>
#
# --libdir=<LIBDIR> Install library files here.
# Default: <EPREFIX>/lib
#
# --includedir=<HDRDIR> Install header files here.
# Default: <PREFIX>/include
#
# --cmakedir=<CMAKEDIR> Install CMake configuration files here.
# Default: <LIBDIR>/cmake
#
# --no-cmake-config Do not install CMake configuration files.
#
# stage Build and install only compiled library files to the
# ===== stage directory.
#
# --stagedir=<STAGEDIR> Install library files here
# Default: ./stage
#
# Other Options:
#
# --build-type=<type> Build the specified pre-defined set of variations of
# the libraries. Note, that which variants get built
# depends on what each library supports.
#
# -- minimal -- (default) Builds a minimal set of
# variants. On Windows, these are static
# multithreaded libraries in debug and release
# modes, using shared runtime. On Linux, these are
# static and shared multithreaded libraries in
# release mode.
#
# -- complete -- Build all possible variations.
#
# --build-dir=DIR Build in this location instead of building within
# the distribution tree. Recommended!
#
# --show-libraries Display the list of Boost libraries that require
# build and installation steps, and then exit.
#
# --layout=<layout> Determine whether to choose library names and header
# locations such that multiple versions of Boost or
# multiple compilers can be used on the same system.
#
# -- versioned -- Names of boost binaries include
# the Boost version number, name and version of
# the compiler and encoded build properties. Boost
# headers are installed in a subdirectory of
# <HDRDIR> whose name contains the Boost version
# number.
#
# -- tagged -- Names of boost binaries include the
# encoded build properties such as variant and
# threading, but do not including compiler name
# and version, or Boost version. This option is
# useful if you build several variants of Boost,
# using the same compiler.
#
# -- system -- Binaries names do not include the
# Boost version number or the name and version
# number of the compiler. Boost headers are
# installed directly into <HDRDIR>. This option is
# intended for system integrators building
# distribution packages.
#
# The default value is 'versioned' on Windows, and
# 'system' on Unix.
#
# --buildid=ID Add the specified ID to the name of built libraries.
# The default is to not add anything.
#
# --python-buildid=ID Add the specified ID to the name of built libraries
# that depend on Python. The default is to not add
# anything. This ID is added in addition to --buildid.
#
# --help This message.
#
# --with-<library> Build and install the specified <library>. If this
# option is used, only libraries specified using this
# option will be built.
#
# --without-<library> Do not build, stage, or install the specified
# <library>. By default, all libraries are built.
#
# Properties:
#
# toolset=toolset Indicate the toolset to build with.
#
# variant=debug|release Select the build variant
#
# link=static|shared Whether to build static or shared libraries
#
# threading=single|multi Whether to build single or multithreaded binaries
#
# runtime-link=static|shared
# Whether to link to static or shared C and C++
# runtime.
#
require-b2 5.1.0 ;
# TODO:
# - handle boost version
# - handle python options such as pydebug
import boostcpp ;
import package ;
import sequence ;
import xsltproc ;
import set ;
import path ;
import link ;
import notfile ;
import virtual-target ;
import "class" : new ;
import property-set ;
import threadapi-feature ;
import option ;
import property ;
import project ;
# Backslash because of `bcp --namespace`
import tools/boost\_install/boost-install ;
path-constant BOOST_ROOT : . ;
constant BOOST_VERSION : 1.89.0 ;
constant BOOST_JAMROOT_MODULE : $(__name__) ;
# Allow subprojects to simply `import config : requires ;` to get access to the requires rule
import-search $(BOOST_ROOT)/libs/config/checks ;
import-search $(BOOST_ROOT)/libs/predef/tools/check ;
boostcpp.set-version $(BOOST_VERSION) ;
use-project /boost/architecture : libs/config/checks/architecture ;
local all-headers =
[ MATCH .*libs/(.*)/include/boost : [ glob libs/*/include/boost libs/*/*/include/boost ] ] ;
for dir in $(all-headers)
{
link-directory $(dir)-headers : libs/$(dir)/include/boost : <location>. ;
explicit $(dir)-headers ;
}
if $(all-headers)
{
constant BOOST_MODULARLAYOUT : $(all-headers) ;
}
project /boost
: requirements <include>.
[ boostcpp.platform ]
# Disable auto-linking for all targets here, primarily because it caused
# troubles with V2.
<define>BOOST_ALL_NO_LIB=1
# Used to encode variant in target name. See the 'tag' rule below.
<tag>@$(__name__).tag
<conditional>@handle-static-runtime
<conditional>@clang-darwin-cxxstd-11
# Comeau does not support shared lib
<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
<conditional>@threadapi-feature.detect
: usage-requirements <include>.
: default-build
<visibility>hidden
<threading>multi
: build-dir bin.v2
;
# General, top-level, modular project searching. Also include tools in the
# project search.
project-search /boost : libs tools ;
# Temporary custom project searching to account for special library paths.
project-search /boost : libs/numeric ;
project-search /boost/numeric_conversion : libs/numeric/conversion ;
# This rule is called by Boost.Build to determine the name of target. We use it
# to encode the build variant, compiler name and boost version in the target
# name.
#
rule tag ( name : type ? : property-set )
{
return [ boostcpp.tag $(name) : $(type) : $(property-set) ] ;
}
rule python-tag ( name : type ? : property-set )
{
return [ boostcpp.python-tag $(name) : $(type) : $(property-set) ] ;
}
rule handle-static-runtime ( properties * )
{
# Using static runtime with shared libraries is impossible on Linux, and
# dangerous on Windows. Therefore, we disallow it. This might be drastic,
# but it was disabled for a while without anybody complaining.
local argv = [ modules.peek : ARGV ] ;
if <link>shared in $(properties)
&& <runtime-link>static in $(properties)
# For CW, static runtime is needed so that std::locale works.
&& ! ( <toolset>cw in $(properties) )
&& ! --allow-shared-static in $(argv)
{
boostcpp.emit-shared-static-warning ;
return <build>no ;
}
}
rule clang-darwin-cxxstd-11 ( properties * )
{
# AppleClang defaults to C++03
local result = [ property.select <cxxstd> : $(properties) ] ;
if <toolset-clang:platform>darwin in $(properties)
{
result ?= <cxxstd>11 ;
}
return $(result) ;
}
# All libraries.
local all-libraries
= [ MATCH .*libs/(.*)/meta/libraries.json : [ glob libs/*/meta/libraries.json ] ] ;
# Find all the libraries that have something to build (the old way).
local all-libraries-to-build
= [ MATCH .*libs/(.*)/build/.* : [ glob libs/*/build/Jamfile.v2 ]
[ glob libs/*/build/Jamfile ] ] ;
all-libraries-to-build = [ sequence.unique $(all-libraries-to-build) ] ;
# The function_types library has a Jamfile, but it's used for maintenance
# purposes, there's no library to build and install.
all-libraries-to-build = [ set.difference $(all-libraries-to-build) : function_types ] ;
# Find all the libraries that have a library-root build declaration (modular way).
local all-libraries-modular-build
= [ MATCH .*libs/(.*)/build.jam : [ glob libs/*/build.jam ] ] ;
# Modular and not are mutually exclusive as they have different lib targets.
all-libraries-to-build = [ set.difference $(all-libraries-to-build) : $(all-libraries-modular-build) ] ;
# The header only libraries that are not of the new modular form. For which we
# will create synthetic projects and targets to simulate the new modular form.
local all-libraries-to-declare
= [ set.difference $(all-libraries)
: $(all-libraries-modular-build) $(all-libraries-to-build) ] ;
if ! [ glob libs/numeric/conversion/build.jam ]
{
all-libraries-to-declare += numeric_conversion ;
}
if ! [ glob libs/numeric/interval/build.jam ]
{
all-libraries-to-declare += interval ;
}
if ! [ glob libs/numeric/odeint/build.jam ]
{
all-libraries-to-declare += odeint ;
}
if ! [ glob libs/numeric/ublas/build.jam ]
{
all-libraries-to-declare += ublas ;
}
all-libraries-to-declare = [ SORT $(all-libraries-to-declare) ] ;
# ECHO "INFO: Build Libraries:" [ SORT $(all-libraries-to-build) ] ;
# ECHO "INFO: Modular Libraries:" [ SORT $(all-libraries-modular-build) ] ;
# ECHO "INFO: Declared Libraries:" [ SORT $(all-libraries-to-declare) ] ;
# EXIT : 0 ;
# Setup convenient aliases for all libraries.
# First, the complicated libraries: where the target name in Jamfile is
# different from its directory name.
explicit
[ alias prg_exec_monitor : libs/test/build//boost_prg_exec_monitor ]
[ alias test_exec_monitor : libs/test/build//boost_test_exec_monitor ]
[ alias unit_test_framework : libs/test/build//boost_unit_test_framework ]
[ alias serialization : libs/serialization/build//boost_serialization ]
[ alias wserialization : libs/serialization/build//boost_wserialization ]
;
for local l in $(all-libraries-to-build)
{
if ! $(l) in test graph serialization headers
{
explicit [ alias $(l) : libs/$(l)/build//boost_$(l) ] ;
}
}
for local l in $(all-libraries-modular-build)
{
if ! $(l) in test graph serialization headers
{
explicit [ alias $(l) : /boost/$(l)//boost_$(l) ] ;
}
}
rule do-nothing { }
rule generate-alias ( project name : property-set : sources * )
{
local action-name = [ $(property-set).get <action> ] ;
local m = [ MATCH ^@(.*) : $(action-name) ] ;
property-set = [ property-set.empty ] ;
local action = [ new action $(sources) : $(m[1]) : $(property-set) ] ;
local t = [ new notfile-target $(name) : $(project) : $(action) ] ;
return [ virtual-target.register $(t) ] ;
}
generate headers : $(all-headers)-headers : <generating-rule>@generate-alias <action>@do-nothing : : <include>. ;
#alias headers : $(all-headers)-headers : : : <include>. ;
explicit headers ;
# Make project ids of all libraries known.
for local l in $(all-libraries-to-build)
{
use-project /boost/$(l) : libs/$(l)/build ;
}
if [ path.exists $(BOOST_ROOT)/tools/inspect/build ]
{
use-project /boost/tools/inspect : tools/inspect/build ;
}
if [ path.exists $(BOOST_ROOT)/libs/wave/tool/build ]
{
use-project /boost/libs/wave/tool : $(BOOST_ROOT)/libs/wave/tool/build ;
}
# Make the boost-install rule visible in subprojects
# This rule should be called from libraries' Jamfiles and will create two
# targets, "install" and "stage", that will install or stage that library. The
# --prefix option is respected, but --with and --without options, naturally, are
# ignored.
#
# - libraries -- list of library targets to install.
rule boost-install ( libraries * )
{
boost-install.boost-install $(libraries) ;
}
# Creates a library target, adding autolink support and also creates
# stage and install targets via boost-install, above.
rule boost-lib ( name : sources * : requirements * : default-build * : usage-requirements * )
{
autolink = <link>shared:<define>BOOST_$(name:U)_DYN_LINK=1 ;
name = boost_$(name) ;
lib $(name)
: $(sources)
: $(requirements) $(autolink)
: $(default-build)
: $(usage-requirements) $(autolink)
;
boost-install $(name) ;
}
# Declare special top-level targets that build and install the desired variants
# of the libraries.
boostcpp.declare-targets $(all-libraries-to-build) $(all-libraries-modular-build) ;
# Declare a Boost library and run related declaration rules. This should be
# called from the libroot/build.jam to define the components of a Boost lib.
# The first arg is the base ID of the library. Each subsequence arg is a
# Boost (boost-x) declaration rule to call with arguments.
#
# For example:
#
# call-if : boost-library serialization
# : install boost_serialization boost_wserialization ;
#
rule boost-library ( id ? : options * : * )
{
# ECHO "INFO: Declare Boost library:" $(id) ;
local called-boost-install ;
for n in 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{
local option = $($(n)) ;
if $(option)
{
call-if : boost-$(option[1]) $(option[2-]) ;
if $(option[1]) = install
{
called-boost-install = true ;
}
}
}
if ! $(called-boost-install)
{
# If the library didn't indicate an install build target it's likely
# header only. We should declare empty install targets to allow for
# generic handling.
boost-install.boost-install ;
}
}
# Declare projects and targets for all placeholder, header only, not yet
# modular libraries.
#
# NOTE: This has to be after the boost-* rule definitions to ensure that those
# are available for import into the new projects.
local location = [ project.attribute $(__name__) location ] ;
for local lib in $(all-libraries-to-declare)
{
local lib-path
= [ path.join $(location) libs $(lib) ] ;
if $(lib) = numeric_conversion
{
lib-path = [ path.join $(location) libs/numeric/conversion ] ;
}
else if $(lib) in interval odeint ublas
{
lib-path = [ path.join $(location) libs/numeric/$(lib) ] ;
}
local lib-module
= [ project.load $(lib-path) : synthesize ] ;
modules.poke $(lib-module) : BOOST_LIB_PROJECT : /boost/$(lib) ;
modules.poke $(lib-module) : BOOST_LIB_TARGET : boost_$(lib) ;
project.push-current [ project.target $(lib-module) ] ;
module $(lib-module)
{
project $(BOOST_LIB_PROJECT)
: requirements
<implicit-dependency>/boost//headers
;
alias $(BOOST_LIB_TARGET) ;
}
project.pop-current ;
}
# Backslash because of `bcp --namespace`
if ! [ project.search /boost/tools/boost\_install ]
{
use-project /boost/tools/boost\_install : tools/boost\_install ;
}
# Ensure "modular" libraries' projects are loaded before build request is
# calculated. This is necessary for subprojects that define custom features
# to be set by users on command line.
# This part should stay at the bottom of the file, because subprojects may rely
# on rules or constants from it.
for local l in $(all-libraries-modular-build)
{
# project.find returns the module for the project, which ensures that the
# project is loaded. The convoluted way the rule is invoked is due to the
# fact that project.find can only be called from a project target instance.
modules.call-in [ project.target $(__name__) ]
: project.find /boost/$(l)
: $(location) ;
}

23
LICENSE_1_0.txt Normal file
View file

@ -0,0 +1,23 @@
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:
The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

11
README.md Normal file
View file

@ -0,0 +1,11 @@
# Boost C++ Libraries
The Boost project provides free peer-reviewed portable C++ source libraries.
We emphasize libraries that work well with the C++ Standard Library. Boost
libraries are intended to be widely useful, and usable across a broad spectrum
of applications. The Boost license encourages both commercial and non-commercial use
and does not require attribution for binary use.
The project website is www.boost.org, where you can obtain more information and
[download](https://www.boost.org/users/download/) the current release.

34
appveyor.yml Normal file
View file

@ -0,0 +1,34 @@
version: 1.0.{build}-{branch}
branches:
only:
- develop
- master
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
SCRIPT: ci_boost_test_library
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
SCRIPT: ci_boost_test_library
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
SCRIPT: ci_boost_test_library
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
SCRIPT: ci_boost_status
TARGET: quick
init:
- cd %APPVEYOR_BUILD_FOLDER%/..
- appveyor DownloadFile "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_common.py"
- appveyor DownloadFile "https://raw.githubusercontent.com/boostorg/release-tools/develop/%SCRIPT%.py"
- cd %APPVEYOR_BUILD_FOLDER%
install: python ../%SCRIPT%.py install
before_build: python ../%SCRIPT%.py before_build
build_script: python ../%SCRIPT%.py build_script
after_build: python ../%SCRIPT%.py after_build
before_test: python ../%SCRIPT%.py before_test
test_script: python ../%SCRIPT%.py test_script
after_test: python ../%SCRIPT%.py after_test
on_success: python ../%SCRIPT%.py on_success
on_failure: python ../%SCRIPT%.py on_failure
on_finish: python ../%SCRIPT%.py on_finish

17
boost-build.jam Normal file
View file

@ -0,0 +1,17 @@
# Copyright (C) 2002-2003 David Abrahams.
# Copyright (C) 2002-2003 Vladimir Prus.
# Copyright (C) 2003,2007 Rene Rivera.
# Use, modification and distribution are 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)
# This is the initial file loaded by Boost Jam when run from any Boost library
# folder. It allows us to choose which Boost Build installation to use for
# building Boost libraries. Unless explicitly selected using a command-line
# option, the version included with the Boost library distribution is used (as
# opposed to any other Boost Build version installed on the user's system).
BOOST_ROOT = $(.boost-build-file:D) ;
BOOST_BUILD = [ MATCH --boost-build=(.*) : $(ARGV) ] ;
BOOST_BUILD ?= tools/build/src ;
boost-build $(BOOST_BUILD) ;

66
boost.css Normal file
View file

@ -0,0 +1,66 @@
/*=============================================================================
Copyright 2002 William E. Kempf
Distributed under the Boost Software License, Version 1.0. (See accompany-
ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=============================================================================*/
H1
{
FONT-SIZE: 200%;
COLOR: #00008B;
}
H2
{
FONT-SIZE: 150%;
}
H3
{
FONT-SIZE: 125%;
}
H4
{
FONT-SIZE: 108%;
}
BODY
{
FONT-SIZE: 100%;
BACKGROUND-COLOR: #ffffff;
COLOR: #000000;
}
PRE
{
MARGIN-LEFT: 2em;
FONT-FAMILY: Courier,
monospace;
}
CODE
{
FONT-FAMILY: Courier,
monospace;
}
CODE.as_pre
{
white-space: pre;
}
.index
{
TEXT-ALIGN: left;
}
.page-index
{
TEXT-ALIGN: left;
}
.definition
{
TEXT-ALIGN: left;
}
.footnote
{
FONT-SIZE: 66%;
VERTICAL-ALIGN: super;
TEXT-DECORATION: none;
}
.function-semantics
{
CLEAR: left;
}

BIN
boost.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

697
boostcpp.jam Normal file
View file

@ -0,0 +1,697 @@
# Boost.Build support specific for the Boost C++ Libraries.
# Copyright Vladimir Prus 2002-2010.
# 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 "class" : new ;
import common ;
import configure ;
import build-system ;
import generate ;
import modules ;
import option ;
import os ;
import package ;
import path ;
import project ;
import regex ;
import sequence ;
import set ;
import targets ;
import feature ;
import property ;
import version : version-less ;
##############################################################################
#
# 0. General setup. Parse options, check them.
#
##############################################################################
BOOST_ROOT = [ modules.binding $(__name__) ] ;
BOOST_ROOT = $(BOOST_ROOT:D) ;
rule set-version ( version )
{
BOOST_VERSION = $(version) ;
local version-tag =
[ MATCH "^([^.]+)[.]([^.]+)[.]([^.]+)" : $(BOOST_VERSION) ] ;
if $(version-tag[3]) = 0
{
version-tag = $(version-tag[1-2]) ;
}
BOOST_VERSION_TAG = $(version-tag:J=_) ;
}
# Option to choose how many variants to build. The default is "minimal".
build-type = [ option.get build-type ] ;
build-type ?= minimal ;
if ! ( $(build-type) in complete minimal )
{
EXIT The value of the --build-type option should be either 'complete' or
'minimal' ;
}
# What kind of layout are we doing?
layout = [ option.get layout : "" ] ;
layout = [ MATCH (versioned|tagged|system)(-(.+))? : $(layout) ] ;
if $(layout[3])
{
layout-version = $(layout[3]) ;
layout = $(layout[1]) ;
if [ version-less [ regex.split $(layout-version) "[.]" ] : 1 66 ]
{
layout-version = 1.40 ;
}
else if [ version-less [ regex.split $(layout-version) "[.]" ] : 1 69 ]
{
layout-version = 1.66 ;
}
}
layout-version ?= 1.69 ;
# On Windows, we used versioned layout by default in order to be compatible with
# autolink. On other systems, we use system layout which is what every other
# program uses. Note that the Windows check is static, and will not be affected
# by specific build properties used.
if ! $(layout)
{
if [ os.name ] = NT
{
layout = versioned ;
}
else
{
layout = system ;
}
}
layout-$(layout) = true ;
if $(layout) = system && $(build-type) = complete
{
ECHO error\: Cannot use --layout=system with --build-type complete. ;
ECHO error\: Please use either --layout=versioned or --layout=tagged ;
ECHO error\: if you wish to build multiple variants. ;
if [ os.name ] != NT
{
ECHO error\: Note that --layout=system is used by default on Unix
starting with Boost 1.40. ;
}
EXIT ;
}
# Possible stage only location.
stage-locate = [ option.get stagedir ] ;
if $(stage-locate)
{
stage-locate = [ path.root [ path.make $(stage-locate) ] [ path.pwd ] ] ;
}
else
{
stage-locate = $(BOOST_ROOT)/stage ;
}
BOOST_STAGE_LOCATE = $(stage-locate) ;
# Custom build ID.
build-id = [ option.get buildid ] ;
if $(build-id)
{
BUILD_ID = [ regex.replace $(build-id) "[*\\/:.\"\' ]" _ ] ;
}
# Python build id (for Python libraries only).
python-id = [ option.get "python-buildid" ] ;
if $(python-id)
{
PYTHON_ID = [ regex.replace $(python-id) "[*\\/:.\"\']" _ ] ;
}
if $(layout) = versioned
{
switch $(layout-version)
{
case 1.40 :
.format-name-args =
<base> <toolset> <threading> <runtime> ;
case 1.66 :
.format-name-args =
<base> <toolset> <threading> <runtime> <arch-and-model> ;
case 1.69 :
.format-name-args =
<base> <toolset> <threading> <runtime> <arch-and-model> ;
}
}
else if $(layout) = tagged
{
switch $(layout-version)
{
case 1.40 :
.format-name-args =
<base> <threading> <runtime> ;
case 1.66 :
.format-name-args =
<base> <threading> <runtime> ;
case 1.69 :
.format-name-args =
<base> <threading> <runtime> <arch-and-model> ;
}
}
else if $(layout) = system
{
.format-name-args = <base> ;
}
else
{
.format-name-error = true ;
}
################################################################################
#
# 1. 'tag' function adding decorations suitable to the properties if versioned
# or tagged layout is requested. Called from Jamroot.
#
################################################################################
rule tag ( name : type ? : property-set )
{
if $(type:E=x) in STATIC_LIB SHARED_LIB IMPORT_LIB
{
local args = $(.format-name-args) ;
if $(layout) = versioned
{
args += -$(BOOST_VERSION_TAG) ;
}
local result = [ common.format-name
$(args) -$(BUILD_ID)
: $(name) : $(type) : $(property-set) ] ;
if $(.format-name-error)
{
EXIT error\: invalid layout '$(layout:E=)' ;
}
# Optionally add version suffix. On NT, library with version suffix will
# not be recognized by linkers. On CYGWIN, we get strage duplicate
# symbol errors when library is generated with version suffix. On OSX,
# version suffix is not needed -- the linker expects the
# libFoo.1.2.3.dylib format. AIX linkers do not accept version suffixes
# either. Pgi compilers can not accept a library with version suffix.
# For android, if we link to libFoo.so, which is a soft link to libFoo.so.1.2.3,
# the android studio will only pack the former into the final apk.
if $(type) = SHARED_LIB &&
! [ $(property-set).get <target-os> ] in windows cygwin darwin aix android &&
! [ $(property-set).get <toolset> ] in pgi
{
result = $(result).$(BOOST_VERSION) ;
}
return $(result) ;
}
}
# Specialized tag function to use for libraries linking to Python.
# Appends value of --python-buildid if provided.
rule python-tag ( name : type ? : property-set )
{
local result = $(name) ;
if $(type) in STATIC_LIB SHARED_LIB IMPORT_LIB
{
# Add Python version suffix
local version = [ $(property-set).get <python> ] ;
local major-minor = [ MATCH "^([0-9]+)\.([0-9]+)" : $(version) ] ;
local suffix = $(major-minor:J="") ;
if $(suffix)
{
result = $(result)$(suffix) ;
}
# Add PYTHON_ID if supplied
if $(PYTHON_ID)
{
result = $(result)-$(PYTHON_ID) ;
}
}
# forward to the boost tagging rule
return [ tag $(result) : $(type) : $(property-set) ] ;
}
################################################################################
#
# 2. Declare targets that build and install all libraries. Specifically:
#
# - 'stage-proper' that puts all libraries in stage/lib
# - 'install-proper' that install libraries and headers to system location
#
################################################################################
rule declare_install_and_stage_proper_targets ( libraries * )
{
local p = [ project.current ] ;
local install-targets ;
local stage-targets ;
for local library in $(libraries)
{
local mp = [ project.search /boost/$(library) ] ;
if $(mp)
{
install-targets += /boost/$(library)//install ;
stage-targets += /boost/$(library)//stage ;
}
else
{
install-targets += libs/$(library)/build//install ;
stage-targets += libs/$(library)/build//stage ;
}
}
alias install-proper : $(install-targets) ;
$(p).mark-target-as-explicit install-proper ;
alias stage-proper : $(stage-targets) ;
$(p).mark-target-as-explicit stage-proper ;
}
################################################################################
#
# 3. Declare top-level targets 'stage' and 'install'. These examine the
# --build-type option and, in case it is 'complete', build the 'install-proper'
# and 'stage-proper' targets with a number of property sets.
#
################################################################################
rule emit-shared-static-warning ( )
{
if ! $(.shared-static-warning-emitted)
{
ECHO "" ;
ECHO "warning: The configuration link=shared, runtime-link=static is disabled" ;
ECHO "warning: by default as being too dangerous to use, and will not be built." ;
ECHO "warning: To enable it, use --allow-shared-static." ;
ECHO "" ;
.shared-static-warning-emitted = 1 ;
}
}
class top-level-target : alias-target-class
{
import modules ;
import boostcpp ;
rule __init__ ( name : project : sources * : requirements *
: default-build * : usage-requirements * )
{
alias-target-class.__init__ $(name) : $(project) : $(sources) :
$(requirements) : $(default-build) : $(usage-requirements) ;
self.build-type = [ modules.peek boostcpp : build-type ] ;
# On Linux, we build the release variant by default, since few users
# will ever want to debug C++ Boost libraries, and there is no ABI
# incompatibility between debug and release variants. We build shared
# and static libraries since that is what most packages seem to provide
# (.so in libfoo and .a in libfoo-dev).
self.minimal-properties = [ property-set.create <variant>release
<threading>multi <link>shared <link>static <runtime-link>shared ] ;
# On Windows, new IDE projects use:
#
# runtime-link=dynamic, threading=multi, variant=(debug|release)
#
# and in addition, C++ Boost's autolink defaults to static linking.
self.minimal-properties-win = [ property-set.create <variant>debug
<variant>release <threading>multi <link>static <runtime-link>shared
<address-model>32 <address-model>64 ] ;
self.complete-properties = [ property-set.create
<variant>debug <variant>release
<threading>multi
<link>shared <link>static
<runtime-link>shared <runtime-link>static ] ;
self.complete-properties-win = [ property-set.create
<variant>debug <variant>release
<threading>multi
<link>shared <link>static
<runtime-link>shared <runtime-link>static
<address-model>32 <address-model>64 ] ;
}
rule generate ( property-set )
{
modules.poke : top-level-targets : [ modules.peek : top-level-targets ]
$(self.name) ;
local os = [ $(property-set).get <target-os> ] ;
# Because we completely override the parent's 'generate' we need to
# check for default feature values ourselves.
if ! $(os)
{
os = [ feature.defaults <target-os> ] ;
os = $(os:G=) ;
}
local build-type-set ;
if $(self.build-type) = minimal
{
if $(os) = windows
{
build-type-set = $(self.minimal-properties-win) ;
}
else
{
build-type-set = $(self.minimal-properties) ;
}
}
else if $(self.build-type) = complete
{
if $(os) = windows
{
build-type-set = $(self.complete-properties-win) ;
}
else
{
build-type-set = $(self.complete-properties) ;
}
}
else
{
import errors ;
errors.error "Unknown build type" ;
}
if $(build-type-set)
{
local expanded = [ targets.apply-default-build $(property-set)
: $(build-type-set) ] ;
# Filter inappropriate combinations.
local filtered ;
local skipped ;
local argv = [ modules.peek : ARGV ] ;
for local p in $(expanded)
{
# See comment in handle-static-runtime regarding this logic.
if [ $(p).get <link> ] = shared
&& [ $(p).get <runtime-link> ] = static
&& [ $(p).get <toolset> ] != cw
&& ! --allow-shared-static in $(argv)
{
# Skip this.
skipped += $(p) ;
}
else
{
filtered += $(p) ;
}
}
if $(expanded) = $(skipped)
{
boostcpp.emit-shared-static-warning ;
}
return [ build-multiple $(filtered) ] ;
}
}
rule build-multiple ( property-sets * )
{
local usage-requirements = [ property-set.empty ] ;
local result ;
for local p in $(property-sets)
{
local r = [ alias-target-class.generate $(p) ] ;
if $(r)
{
usage-requirements = [ $(usage-requirements).add $(r[1]) ] ;
result += $(r[2-]) ;
}
}
return $(usage-requirements) [ sequence.unique $(result) ] ;
}
}
rule declare_top_level_targets ( libraries * )
{
declare_install_and_stage_proper_targets $(libraries) ;
targets.create-metatarget top-level-target : [ project.current ]
: install
: install-proper
;
targets.create-metatarget top-level-target : [ project.current ]
: stage
: stage-proper headers
;
p = [ project.current ] ;
$(p).mark-target-as-explicit install stage ;
# This target is built by default, and will forward to 'stage' after
# producing some explanations.
targets.create-metatarget top-level-target : [ project.current ]
: forward
: explain stage
;
}
################################################################################
#
# 4. Add hook to report configuration before the build, and confirmation with
# setup instructions after the build.
#
################################################################################
message explain : "\nBuilding the Boost C++ Libraries.\n\n" ;
local p = [ project.current ] ;
$(p).mark-target-as-explicit explain ;
rule pre-build ( )
{
local tl = [ modules.peek : top-level-targets ] ;
if stage in $(tl) || install in $(tl)
{
# FIXME: Remove 'if' when Boost regression tests start using trunk bjam.
if PAD in [ RULENAMES ]
{
configure.print-component-configuration ;
}
}
}
IMPORT $(__name__) : pre-build : : $(__name__).pre-build ;
build-system.set-pre-build-hook $(__name__).pre-build ;
rule post-build ( ok ? )
{
if forward in [ modules.peek : top-level-targets ]
{
if $(ok)
{
local include-path = [ path.native $(BOOST_ROOT) ] ;
local stage-abs = [ path.native $(stage-locate)/lib ] ;
ECHO "
The Boost C++ Libraries were successfully built!
The following directory should be added to compiler include paths:
$(include-path)
The following directory should be added to linker library paths:
$(stage-abs)
" ;
}
}
}
IMPORT $(__name__) : post-build : : $(__name__).post-build ;
build-system.set-post-build-hook $(__name__).post-build ;
################################################################################
#
# 5. Top-level setup.
#
################################################################################
# Decides which libraries are to be installed by looking at --with-<library>
# --without-<library> arguments. Returns the list of directories under "libs"
# which must be built and installed.
#
rule libraries-to-install ( existing-libs * )
{
local argv = [ modules.peek : ARGV ] ;
local with-parameter = [ MATCH ^--with-(.*) : $(argv) ] ;
local without-parameter = [ MATCH ^--without-(.*) : $(argv) ] ;
if ! $(with-parameter) && ! $(without-parameter)
{
# Nothing is specified on command line. See if maybe project-config.jam
# has some choices.
local libs = [ modules.peek project-config : libraries ] ;
with-parameter = [ MATCH ^--with-(.*) : $(libs) ] ;
without-parameter = [ MATCH ^--without-(.*) : $(libs) ] ;
}
# Do some checks.
if $(with-parameter) && $(without-parameter)
{
EXIT error\: both --with-<library> and --without-<library> specified ;
}
local wrong = [ set.difference $(with-parameter) : $(existing-libs) ] ;
if $(wrong)
{
EXIT error\: wrong library name '$(wrong[1])' in the --with-<library>
option. ;
}
local wrong = [ set.difference $(without-parameter) : $(existing-libs) ] ;
if $(wrong)
{
EXIT error\: wrong library name '$(wrong[1])' in the --without-<library>
option. ;
}
if $(with-parameter)
{
return [ set.intersection $(existing-libs) : $(with-parameter) ] ;
}
else
{
return [ set.difference $(existing-libs) : $(without-parameter) ] ;
}
}
rule declare-targets ( all-libraries * )
{
configure.register-components $(all-libraries) ;
# Select the libraries to install.
libraries = [ libraries-to-install $(all-libraries) ] ;
configure.components-building $(libraries) ;
if [ option.get "show-libraries" : : true ]
{
ECHO The following libraries require building\: ;
for local l in $(libraries)
{
ECHO " - $(l)" ;
}
EXIT ;
}
declare_top_level_targets $(libraries) ;
}
# Returns the properties identifying the toolset. We'll use them
# below to configure checks. These are essentially same as in
# configure.builds, except we don't use address-model and
# architecture - as we're trying to detect them here.
#
rule toolset-properties ( properties * )
{
local toolset = [ property.select <toolset> : $(properties) ] ;
local toolset-version-property = "<toolset-$(toolset:G=):version>" ;
return [ property.select <target-os> <toolset> $(toolset-version-property) : $(properties) ] ;
}
.deducible-architectures = arm loongarch mips power riscv s390x sparc x86 combined ;
feature.feature x-deduced-platform
: $(.deducible-architectures)_32 $(.deducible-architectures)_64
: composite implicit optional propagated ;
for a in $(.deducible-architectures)
{
feature.compose <x-deduced-platform>$(a)_32 : <architecture>$(a) <address-model>32 ;
feature.compose <x-deduced-platform>$(a)_64 : <architecture>$(a) <address-model>64 ;
}
rule deduce-architecture ( properties * )
{
local deduced-pl = [ property.select <x-deduced-platform> : $(properties) ] ;
if $(deduced-pl)
{
return $(deduced-pl) ;
}
local filtered = [ toolset-properties $(properties) ] ;
local names = 32 64 ;
local idx = [ configure.find-builds "default address-model" : $(filtered)
: /boost/architecture//32 "32-bit"
: /boost/architecture//64 "64-bit" ] ;
local deduced-am = $(names[$(idx)]) ;
if ! $(deduced-am)
{
return ;
}
names = $(.deducible-architectures) ;
idx = [ configure.find-builds "default architecture" : $(filtered)
: /boost/architecture//arm
: /boost/architecture//loongarch
: /boost/architecture//mips
: /boost/architecture//power
: /boost/architecture//riscv
: /boost/architecture//s390x
: /boost/architecture//sparc
: /boost/architecture//x86
: /boost/architecture//combined ] ;
local deduced-arch = $(names[$(idx)]) ;
if ! $(deduced-arch)
{
return ;
}
local requested-am = [ property.select <address-model> : $(properties) ] ;
requested-am ?= <address-model>$(deduced-am) ;
local requested-arch = [ property.select <architecture> : $(properties) ] ;
requested-arch ?= <architecture>$(deduced-arch) ;
deduced-pl = $(requested-arch:G=<x-deduced-platform>)_$(requested-am:G=) ;
if ! $(deduced-pl:G=) in [ feature.values <x-deduced-platform> ]
{
deduced-pl = ;
}
return $(deduced-pl) ;
}
rule deduce-address-model ( properties * )
{
# this rule is a noop and exists for legacy reasons
}
rule platform ( )
{
return <conditional>@boostcpp.deduce-architecture
<conditional>@boostcpp.deduce-address-model ;
}

98
bootstrap.bat Normal file
View file

@ -0,0 +1,98 @@
@ECHO OFF
SETLOCAL
REM Copyright 2019-2020 Rene Rivera
REM Copyright (C) 2009 Vladimir Prus
REM
REM Distributed under the Boost Software License, Version 1.0.
REM (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
ECHO Building Boost.Build engine
if exist ".\tools\build\src\engine\b2.exe" del tools\build\src\engine\b2.exe
pushd tools\build\src\engine
call .\build.bat %*
@ECHO OFF
popd
if exist ".\tools\build\src\engine\b2.exe" (
copy .\tools\build\src\engine\b2.exe . > nul
goto :bjam_built)
goto :bjam_failure
:bjam_built
REM Ideally, we should obtain the toolset that build.bat has
REM guessed. However, it uses setlocal at the start and does not
REM export BOOST_JAM_TOOLSET, and I don't know how to do that
REM properly. Default to msvc if not specified.
SET TOOLSET=msvc
IF "%1"=="gcc" SET TOOLSET=gcc
IF "%1"=="clang" SET TOOLSET=clang
IF "%1"=="borland" SET TOOLSET=embarcadero
IF "%1"=="vc71" SET TOOLSET=msvc : 7.1
IF "%1"=="vc8" SET TOOLSET=msvc : 8.0
IF "%1"=="vc9" SET TOOLSET=msvc : 9.0
IF "%1"=="vc10" SET TOOLSET=msvc : 10.0
IF "%1"=="vc11" SET TOOLSET=msvc : 11.0
IF "%1"=="vc12" SET TOOLSET=msvc : 12.0
IF "%1"=="vc14" SET TOOLSET=msvc : 14.0
IF "%1"=="vc141" SET TOOLSET=msvc : 14.1
IF "%1"=="vc142" SET TOOLSET=msvc : 14.2
IF "%1"=="vc143" SET TOOLSET=msvc : 14.3
ECHO.
ECHO Generating Boost.Build configuration in project-config.jam for %TOOLSET%...
ECHO # Boost.Build Configuration > project-config.jam
ECHO # Automatically generated by bootstrap.bat >> project-config.jam
ECHO. >> project-config.jam
ECHO import option ; >> project-config.jam
ECHO. >> project-config.jam
ECHO using %TOOLSET% ; >> project-config.jam
ECHO. >> project-config.jam
ECHO option.set keep-going : false ; >> project-config.jam
ECHO. >> project-config.jam
ECHO.
ECHO Bootstrapping is done. To build, run:
ECHO.
ECHO .\b2
ECHO.
IF EXIST libs\config\include (
ECHO. To generate header files, run:
ECHO.
ECHO. .\b2 headers
ECHO.
)
ECHO To adjust configuration, edit 'project-config.jam'.
ECHO Further information:
ECHO.
ECHO - Command line help:
ECHO .\b2 --help
ECHO.
ECHO - Getting started guide:
ECHO http://boost.org/more/getting_started/windows.html
ECHO.
ECHO - Boost.Build documentation:
ECHO http://www.boost.org/build/
ECHO.
goto :end
:bjam_failure
ECHO.
ECHO Failed to build Boost.Build engine.
ECHO.
REM Set an error code to allow `bootstrap && b2`
cmd /c exit /b 1 > nul
:end

421
bootstrap.sh Executable file
View file

@ -0,0 +1,421 @@
#!/bin/sh
# Copyright 2019-2021 René Ferdinand Rivera Morell
# Copyright (C) 2005, 2006 Douglas Gregor.
# Copyright (C) 2006 The Trustees of Indiana University
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
# boostinspect:notab - Tabs are required for the Makefile.
BJAM=""
TOOLSET=""
BJAM_CONFIG=""
BUILD=""
PREFIX=/usr/local
EPREFIX=
LIBDIR=
INCLUDEDIR=
LIBS=""
PYTHON=python
PYTHON_VERSION=
PYTHON_ROOT=
ICU_ROOT=
# Handle case where builtin shell version of echo command doesn't
# support -n. Use the installed echo executable if there is one
# rather than builtin version to ensure -n is supported.
ECHO=`which echo`
if test "x$ECHO" = x; then
ECHO=echo
fi
# Internal flags
flag_no_python=
flag_icu=
flag_show_libraries=
for option
do
case $option in
-help | --help | -h)
want_help=yes ;;
-prefix=* | --prefix=*)
PREFIX=`expr "x$option" : "x-*prefix=\(.*\)"`
;;
-exec-prefix=* | --exec-prefix=*)
EPREFIX=`expr "x$option" : "x-*exec-prefix=\(.*\)"`
;;
-libdir=* | --libdir=*)
LIBDIR=`expr "x$option" : "x-*libdir=\(.*\)"`
;;
-includedir=* | --includedir=*)
INCLUDEDIR=`expr "x$option" : "x-*includedir=\(.*\)"`
;;
-show-libraries | --show-libraries )
flag_show_libraries=yes
;;
-with-bjam=* | --with-bjam=* )
BJAM=`expr "x$option" : "x-*with-bjam=\(.*\)"`
;;
-with-icu | --with-icu )
flag_icu=yes
;;
-with-icu=* | --with-icu=* )
flag_icu=yes
ICU_ROOT=`expr "x$option" : "x-*with-icu=\(.*\)"`
;;
-without-icu | --without-icu )
flag_icu=no
;;
-with-libraries=* | --with-libraries=* )
library_list=`expr "x$option" : "x-*with-libraries=\(.*\)"`
if test "$library_list" != "all"; then
old_IFS=$IFS
IFS=,
for library in $library_list
do
LIBS="$LIBS --with-$library"
if test $library = python; then
requested_python=yes
fi
done
IFS=$old_IFS
if test "x$requested_python" != xyes; then
flag_no_python=yes
fi
fi
;;
-without-libraries=* | --without-libraries=* )
library_list=`expr "x$option" : "x-*without-libraries=\(.*\)"`
old_IFS=$IFS
IFS=,
for library in $library_list
do
LIBS="$LIBS --without-$library"
if test $library = python; then
flag_no_python=yes
fi
done
IFS=$old_IFS
;;
-with-python=* | --with-python=* )
PYTHON=`expr "x$option" : "x-*with-python=\(.*\)"`
;;
-with-python-root=* | --with-python-root=* )
PYTHON_ROOT=`expr "x$option" : "x-*with-python-root=\(.*\)"`
;;
-with-python-version=* | --with-python-version=* )
PYTHON_VERSION=`expr "x$option" : "x-*with-python-version=\(.*\)"`
;;
-with-toolset=* | --with-toolset=* )
TOOLSET=`expr "x$option" : "x-*with-toolset=\(.*\)"`
;;
-*)
{ echo "error: unrecognized option: $option
Try \`$0 --help' for more information." >&2
{ (exit 1); exit 1; }; }
;;
esac
done
if test "x$want_help" = xyes; then
cat <<EOF
\`./bootstrap.sh\' builds the Boost build system B2 and prepares Boost for
building. This includes setting defaults in the project-config.jam which you
can adjust prior to invoking B2.
Usage: $0 [OPTION]...
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--with-bjam=BJAM use existing Boost.Jam executable (bjam)
[automatically built]
--with-toolset=TOOLSET use specific TOOLSET to build B2 and as default
for building Boost
[automatically detected]
--show-libraries show the set of libraries that require build
and installation steps (i.e., those libraries
that can be used with --with-libraries or
--without-libraries), then exit
--with-libraries=list build only a particular set of libraries,
describing using either a comma-separated list of
library names or "all"
[all]
--without-libraries=list build all libraries except the ones listed []
--with-icu enable Unicode/ICU support in Regex
[automatically detected]
--without-icu disable Unicode/ICU support in Regex
--with-icu=DIR specify the root of the ICU library installation
and enable Unicode/ICU support in Regex
[automatically detected]
--with-python=PYTHON specify the Python executable [python]
--with-python-root=DIR specify the root of the Python installation
[automatically detected]
--with-python-version=X.Y specify the Python version as X.Y
[automatically detected]
Installation directories:
--prefix=PREFIX install Boost into the given PREFIX
[/usr/local]
--exec-prefix=EPREFIX install Boost binaries into the given EPREFIX
[PREFIX]
More precise control over installation directories:
--libdir=DIR install libraries here [EPREFIX/lib]
--includedir=DIR install headers here [PREFIX/include]
EOF
fi
test -n "$want_help" && exit 0
my_dir=$(dirname "$0")
# Determine the toolset, if not already decided
if test "x$TOOLSET" = x; then
guessed_toolset=`CXX= CXXFLAGS= $my_dir/tools/build/src/engine/build.sh --guess-toolset`
case $guessed_toolset in
acc | clang | gcc | como | mipspro | pathscale | pgi | qcc | vacpp )
TOOLSET=$guessed_toolset
;;
intel-* )
TOOLSET=intel
;;
mingw )
TOOLSET=gcc
;;
sun* )
TOOLSET=sun
;;
* )
# Not supported by B2
;;
esac
fi
rm -f config.log
# Build bjam
if test "x$BJAM" = x; then
$ECHO "Building B2 engine.."
pwd=`pwd`
CXX= CXXFLAGS= "$my_dir/tools/build/src/engine/build.sh" ${TOOLSET}
if [ $? -ne 0 ]; then
echo
echo "Failed to build B2 build engine"
exit 1
fi
cd "$pwd"
BJAM="$my_dir/tools/build/src/engine/b2"
echo "tools/build/src/engine/b2"
cp "$BJAM" .
fi
# TBD: Turn BJAM into an absolute path
# If there is a list of libraries
if test "x$flag_show_libraries" = xyes; then
cat <<EOF
The following Boost libraries have portions that require a separate build
and installation step. Any library not listed here can be used by including
the headers only.
The Boost libraries requiring separate building and installation are:
EOF
$BJAM -d0 --show-libraries | grep '^[[:space:]]*-'
exit 0
fi
# Setup paths
if test "x$EPREFIX" = x; then
EPREFIX="$PREFIX"
fi
if test "x$LIBDIR" = x; then
LIBDIR="$EPREFIX/lib"
fi
if test "x$INCLUDEDIR" = x; then
INCLUDEDIR="$PREFIX/include"
fi
# Find Python
if test "x$flag_no_python" = x; then
result=`$PYTHON -c "exit" > /dev/null 2>&1`
if [ "$?" -ne "0" ]; then
flag_no_python=yes
fi
fi
if test "x$flag_no_python" = x; then
if test "x$PYTHON_VERSION" = x; then
$ECHO -n "Detecting Python version... "
PYTHON_VERSION=`$PYTHON -c "import sys; print (\"%d.%d\" % (sys.version_info[0], sys.version_info[1]))"`
echo $PYTHON_VERSION
fi
if test "x$PYTHON_ROOT" = x; then
$ECHO -n "Detecting Python root... "
PYTHON_ROOT=`$PYTHON -c "import sys; print(sys.prefix)"`
echo $PYTHON_ROOT
fi
fi
# Configure ICU
$ECHO -n "Unicode/ICU support for Boost.Regex?... "
if test "x$flag_icu" != xno; then
if test "x$ICU_ROOT" = x; then
if command -v pkg-config > /dev/null && pkg-config icu-uc ; then
ICU_ROOT=`pkg-config --variable=prefix icu-uc`
fi
fi
if test "x$ICU_ROOT" = x; then
COMMON_ICU_PATHS="/usr /usr/local /sw"
for p in $COMMON_ICU_PATHS; do
if test -r $p/include/unicode/utypes.h; then
ICU_ROOT=$p
fi
done
if test "x$ICU_ROOT" = x; then
echo "not found."
else
BJAM_CONFIG="$BJAM_CONFIG -sICU_PATH=$ICU_ROOT"
echo "$ICU_ROOT"
fi
else
BJAM_CONFIG="$BJAM_CONFIG -sICU_PATH=$ICU_ROOT"
echo "$ICU_ROOT"
fi
else
echo "disabled."
fi
# Backup the user's existing project-config.jam
JAM_CONFIG_OUT="project-config.jam"
if test -r "project-config.jam"; then
counter=1
while test -r "project-config.jam.$counter"; do
counter=`expr $counter + 1`
done
echo "Backing up existing B2 configuration in project-config.jam.$counter"
mv "project-config.jam" "project-config.jam.$counter"
fi
# Generate user-config.jam
echo "Generating B2 configuration in project-config.jam for $TOOLSET..."
cat > project-config.jam <<EOF
# B2 Configuration
# Automatically generated by bootstrap.sh
import option ;
import feature ;
# Compiler configuration. This definition will be used unless
# you already have defined some toolsets in your user-config.jam
# file.
if ! $TOOLSET in [ feature.values <toolset> ]
{
using $TOOLSET ;
}
project : default-build <toolset>$TOOLSET ;
EOF
# - Python configuration
if test "x$flag_no_python" = x; then
cat >> project-config.jam <<EOF
# Python configuration
import python ;
if ! [ python.configured ]
{
using python : $PYTHON_VERSION : "$PYTHON_ROOT" ;
}
EOF
fi
if test "x$ICU_ROOT" != x; then
cat >> project-config.jam << EOF
path-constant ICU_PATH : $ICU_ROOT ;
EOF
fi
cat >> project-config.jam << EOF
# List of --with-<library> and --without-<library>
# options. If left empty, all libraries will be built.
# Options specified on the command line completely
# override this variable.
libraries = $LIBS ;
# These settings are equivalent to corresponding command-line
# options.
option.set prefix : $PREFIX ;
option.set exec-prefix : $EPREFIX ;
option.set libdir : $LIBDIR ;
option.set includedir : $INCLUDEDIR ;
# Stop on first error
option.set keep-going : false ;
EOF
cat << EOF
Bootstrapping is done. To build, run:
./b2
To generate header files, run:
./b2 headers
The configuration generated uses ${TOOLSET} to build by default. If that is
unintended either use the --with-toolset option or adjust configuration, by
editing 'project-config.jam'.
Further information:
- Command line help:
./b2 --help
- Getting started guide:
http://www.boost.org/more/getting_started/unix-variants.html
- B2 documentation:
http://www.boost.org/build/
EOF

224
doc/Jamfile.v2 Normal file
View file

@ -0,0 +1,224 @@
# Copyright (c) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
# Copyright (c) 2016-2018 Rene Rivera
#
# 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)
project boost/doc
: requirements
<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"
;
import boostbook : boostbook ;
import project ;
import targets ;
import print ;
import type ;
import generators ;
import sequence ;
import path ;
import "class" : is-a ;
import regex ;
path-constant BOOST_DOC : . ;
local lib-docs = [ path.glob [ path.glob $(BOOST_DOC)/../libs $(BOOST_DOC)/../tools : */doc ]
: [ modules.peek project : JAMFILE ] ] ;
local rule find-target-of-class-or-type ( root-target : klass ? : type ? )
{
local result ;
if ! $(result) && $(klass) && [ is-a $(root-target) : $(klass) ]
{
result ?= $(root-target) $(klass) ;
}
if ! $(result) && $(type) && $(type:U) = [ modules.peek $(root-target) : self.type ]
{
result ?= $(root-target) $(type:U) ;
}
local alternatives = [ modules.peek $(root-target) : self.alternatives ] ;
if ! $(result)
{
for local alternative in $(alternatives)
{
if $(result) { break ; }
result ?= [ find-target-of-class-or-type $(alternative) : $(klass) : $(type) ] ;
}
}
if ! $(result)
{
for local alternative in $(alternatives)
{
if $(result) { break ; }
local sources = [ modules.peek $(alternative) : self.sources ] ;
for local source in [ $(alternative).sources ]
{
if $(result) { break ; }
result ?= [ find-target-of-class-or-type $(source) : $(klass) : $(type) ] ;
}
}
}
return $(result) ;
}
local rule docbook-target-spec ( main-target )
{
local spec ;
local doc-sub-target
= [ find-target-of-class-or-type $(main-target) : boostbook-target-class : XML ] ;
if $(doc-sub-target)
{
#ECHO *** $(main-target) ;
#ECHO " ::" [ $(main-target).full-name ] ;
#ECHO " ::" $(doc-sub-target) :: [ $(doc-sub-target[0]).full-name ] ;
local full-name = [ $(doc-sub-target[0]).full-name ] ;
local target-path = $(full-name:D) ;
local target-name = $(full-name:B) ;
local this-path = [ path.root [ project.attribute $(__name__) location ] [ path.pwd ] ] ;
target-path = [ path.relative-to $(this-path) $(target-path) ] ;
#ECHO " ::" $(target-path) :: $(target-name) ;
spec = $(target-path)//$(target-name) ;
}
return $(spec) ;
}
local exclude-libs = [ MATCH "^--exclude-libraries=(.*)" : [ modules.peek : ARGV ] ] ;
exclude-libs = [ regex.split-list $(exclude-libs) : "," ] ;
#ECHO "=== --exclude-libraries:" $(exclude-libs) ;
local lib-doc-boostdoc-refs ;
local lib-doc-boostrelease-refs ;
local this-path = [ path.root [ project.attribute $(__name__) location ] [ path.pwd ] ] ;
for local lib-doc in $(lib-docs)
{
#ECHO === $(lib-doc) ... ;
local doc-project = $(lib-doc:D) ;
local lib-dir = $(doc-project:D) ;
local lib-name = $(lib-dir:BS) ;
#ECHO "=== lib-name:" $(lib-name) ... ;
if $(lib-name) in $(exclude-libs)
{
ECHO "-- Excluded library" '$(lib-name)' ;
}
else
{
local doc-module = [ project.find $(doc-project)
: [ project.attribute $(__name__) location ] ] ;
local doc-target = [ project.target $(doc-module) ] ;
$(doc-target).build-main-targets ;
local boostrelease-target = [ $(doc-target).main-target boostrelease ] ;
if $(boostrelease-target)
{
local full-name = [ $(boostrelease-target).full-name ] ;
local target-path = [ path.relative-to $(this-path) $(full-name:D) ] ;
lib-doc-boostrelease-refs += $(target-path)//boostrelease ;
#ECHO " ::" $(target-path)//boostrelease ;
}
local boostdoc-target = [ $(doc-target).main-target boostdoc ] ;
if $(boostdoc-target)
{
local full-name = [ $(boostdoc-target).full-name ] ;
local target-path = [ path.relative-to $(this-path) $(full-name:D) ] ;
lib-doc-boostdoc-refs += $(target-path)//boostdoc ;
#ECHO " ::" $(target-path)//boostdoc ;
}
}
}
# Build non-integrated library docs for release.
if "--release-build" in [ modules.peek : ARGV ]
{
alias release-build : $(lib-doc-boostrelease-refs) ;
}
local rule component-order ( x y )
{
local a = [ MATCH "(/libs/[^/]+)" "(/tools/[^/]+)" : $(x:G) $(x:G=) ] ;
local b = [ MATCH "(/libs/[^/]+)" "(/tools/[^/]+)" : $(y:G) $(y:G=) ] ;
if $(a[1]) < $(b[1])
{
return true ;
}
else if $(a[1]) = $(b[1]) && $(x) < $(y)
{
return true ;
}
}
rule xinclude-generator ( target : sources * : properties * )
{
print.output $(target) ;
local includes ;
sources = [ sequence.insertion-sort $(sources) : component-order ] ;
locate = [ path.root [ on $(target) return $(LOCATE) ] [ path.pwd ] ] ;
for local xml in $(sources)
{
local dir ;
dir ?= [ on $(xml) return $(LOCATE) ] ;
dir ?= [ on $(xml) return $(SEARCH) ] ;
dir ?= "" ;
dir = [ path.root $(dir[1]) [ path.pwd ] ] ;
dir = [ path.relative-to $(locate) $(dir) ] ;
includes += "<xi:include href=\"$(dir[1])/$(xml:G=)\"/>" ;
}
print.text
"<?xml version=\"1.0\" encoding=\"utf-8\"?>"
"<xml xmlns:xi=\"http://www.w3.org/2003/XInclude\">"
$(includes)
"</xml>"
: overwrite ;
}
type.register XINCLUDE_XML : xinclude : XML ;
generators.register-composing $(__name__).xinclude-generator : XML : XINCLUDE_XML ;
rule xinclude ( name : sources * : requirements * : default-build * : usage-requirements * )
{
targets.create-typed-target XINCLUDE_XML
: [ project.current ]
: $(name)
: $(sources)
: $(requirements)
: $(default-build)
: $(usage-requirements)
;
}
xinclude libraries :
$(lib-doc-boostdoc-refs)
;
explicit libraries ;
xinclude tools :
../tools/quickbook/doc//quickbook
../tools/boostbook/doc//boostbook
;
explicit tools ;
boostbook doc
:
src/boost.xml
:
<xsl:param>generate.consistent.ids=1
<use>$(lib-doc-boostdoc-refs)
<dependency>libraries
<implicit-dependency>libraries
<dependency>tools
<implicit-dependency>tools
<dependency>images
<dependency>callouts
<xsl:path>$(BOOST_DOC)
;
install images : [ glob src/images/*.png ] : <location>html/images ;
explicit images ;
install callouts : [ glob src/images/callouts/*.png ] : <location>html/images/callouts ;
explicit callouts ;

16
doc/html/Assignable.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/Assignable.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/Assignable.html">http://www.boost.org/doc/libs/master/doc/html/Assignable.html</a>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/CopyConstructible.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/CopyConstructible.html">http://www.boost.org/doc/libs/master/doc/html/CopyConstructible.html</a>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/accumulators.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/accumulators.html">http://www.boost.org/doc/libs/master/doc/html/accumulators.html</a>
</body>
</html>

16
doc/html/any.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/any.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/any.html">http://www.boost.org/doc/libs/master/doc/html/any.html</a>
</body>
</html>

16
doc/html/array.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/array.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/array.html">http://www.boost.org/doc/libs/master/doc/html/array.html</a>
</body>
</html>

16
doc/html/atomic.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/atomic.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/atomic.html">http://www.boost.org/doc/libs/master/doc/html/atomic.html</a>
</body>
</html>

16
doc/html/bbv2.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=../../tools/build/doc/html/index.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="../../tools/build/doc/html/index.html">../../tools/build/doc/html/index.html</a>
</body>
</html>

View file

@ -0,0 +1,18 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to new location</title>
<meta http-equiv="refresh" content="0; URL=../bbv2.html#bbv2.installation">
</head>
<body>
Automatic redirection failed, please go to
<a href="../bbv2.html#bbv2.installation">../bbv2.html#bbv2.installation</a>
</body>
</html>

17
doc/html/boost_asio.html Normal file
View file

@ -0,0 +1,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/boost_asio.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/boost_asio.html">http://www.boost.org/doc/libs/master/doc/html/boost_asio.html</a>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/boost_lexical_cast.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/boost_lexical_cast.html">http://www.boost.org/doc/libs/master/doc/html/boost_lexical_cast.html</a>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/boost_random.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/boost_random.html">http://www.boost.org/doc/libs/master/doc/html/boost_random.html</a>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/boost_staticassert.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/boost_staticassert.html">http://www.boost.org/doc/libs/master/doc/html/boost_staticassert.html</a>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/boost_typeerasure.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/boost_typeerasure.html">http://www.boost.org/doc/libs/master/doc/html/boost_typeerasure.html</a>
</body>
</html>

16
doc/html/boostbook.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=../../tools/boostbook/index.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="../../tools/boostbook/index.html">../../tools/boostbook/index.html</a>
</body>
</html>

16
doc/html/chrono.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/chrono.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/chrono.html">http://www.boost.org/doc/libs/master/doc/html/chrono.html</a>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/circular_buffer.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/container.html">http://www.boost.org/doc/libs/master/doc/html/circular_buffer.html</a>
</body>
</html>

16
doc/html/container.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/container.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/container.html">http://www.boost.org/doc/libs/master/doc/html/container.html</a>
</body>
</html>

16
doc/html/date_time.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/date_time.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/date_time.html">http://www.boost.org/doc/libs/master/doc/html/date_time.html</a>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/date_time/date_time_io.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/date_time/date_time_io.html">http://www.boost.org/doc/libs/master/doc/html/date_time/date_time_io.html</a>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/date_time/details.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/date_time/details.html">http://www.boost.org/doc/libs/master/doc/html/date_time/details.html</a>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/date_time/local_time.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/date_time/local_time.html">http://www.boost.org/doc/libs/master/doc/html/date_time/local_time.html</a>
</body>
</html>

17
doc/html/foreach.html Normal file
View file

@ -0,0 +1,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/foreach.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/foreach.html">http://www.boost.org/doc/libs/master/doc/html/foreach.html</a>
</body>
</html>

16
doc/html/function.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/function.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/function.html">http://www.boost.org/doc/libs/master/doc/html/function.html</a>
</body>
</html>

16
doc/html/hash.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/hash.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/hash.html">http://www.boost.org/doc/libs/master/doc/html/hash.html</a>
</body>
</html>

16
doc/html/hash/custom.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/hash/custom.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/hash/custom.html">http://www.boost.org/doc/libs/master/doc/html/hash/custom.html</a>
</body>
</html>

16
doc/html/heap.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/heap.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/heap.html">http://www.boost.org/doc/libs/master/doc/html/heap.html</a>
</body>
</html>

BIN
doc/html/images/blank.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

BIN
doc/html/images/caution.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
doc/html/images/draft.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
doc/html/images/home.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 722 B

BIN
doc/html/images/next.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

BIN
doc/html/images/next_disabled.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
doc/html/images/note.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 B

BIN
doc/html/images/prev.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

BIN
doc/html/images/prev_disabled.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
doc/html/images/tip.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

BIN
doc/html/images/up.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 B

BIN
doc/html/images/up_disabled.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
doc/html/images/warning.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -0,0 +1,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/interprocess.html">
<title>Redirect to generated documentation</title>
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/interprocess.html">http://www.boost.org/doc/libs/master/doc/html/interprocess.html</a>
</body>
</html>

17
doc/html/intrusive.html Normal file
View file

@ -0,0 +1,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/intrusive.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/intrusive.html">http://www.boost.org/doc/libs/master/doc/html/intrusive.html</a>
</body>
</html>

16
doc/html/lambda.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/lambda.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/lambda.html">http://www.boost.org/doc/libs/master/doc/html/lambda.html</a>
</body>
</html>

16
doc/html/lockfree.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/lockfree.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/lockfree.html">http://www.boost.org/doc/libs/master/doc/html/lockfree.html</a>
</body>
</html>

16
doc/html/move.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/move.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/move.html">http://www.boost.org/doc/libs/master/doc/html/move.html</a>
</body>
</html>

16
doc/html/mpi.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2007 Trustees of Indiana University
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/mpi.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/mpi.html">http://www.boost.org/doc/libs/master/doc/html/mpi.html</a>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/program_options.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/program_options.html">http://www.boost.org/doc/libs/master/doc/html/program_options.html</a>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/property_tree.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/property_tree.html">http://www.boost.org/doc/libs/master/doc/html/property_tree.html</a>
</body>
</html>

16
doc/html/proto.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/proto.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/proto.html">http://www.boost.org/doc/libs/master/doc/html/proto.html</a>
</body>
</html>

16
doc/html/quickbook.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/quickbook.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/quickbook.html">http://www.boost.org/doc/libs/master/doc/html/quickbook.html</a>
</body>
</html>

16
doc/html/ratio.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/ratio.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/ratio.html">http://www.boost.org/doc/libs/master/doc/html/ratio.html</a>
</body>
</html>

16
doc/html/ref.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=../../libs/core/doc/html/core/ref.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="../../libs/core/doc/html/core/ref.html">../../libs/core/doc/html/core/ref.html</a>
</body>
</html>

16
doc/html/signals.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/signals.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/signals.html">http://www.boost.org/doc/libs/master/doc/html/signals.html</a>
</body>
</html>

16
doc/html/signals2.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/signals2.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/signals2.html">http://www.boost.org/doc/libs/master/doc/html/signals2.html</a>
</body>
</html>

16
doc/html/string_algo.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/string_algo.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/string_algo.html">http://www.boost.org/doc/libs/master/doc/html/string_algo.html</a>
</body>
</html>

16
doc/html/thread.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/thread.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/thread.html">http://www.boost.org/doc/libs/master/doc/html/thread.html</a>
</body>
</html>

16
doc/html/tribool.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/tribool.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/tribool.html">http://www.boost.org/doc/libs/master/doc/html/tribool.html</a>
</body>
</html>

16
doc/html/typeof.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/typeof.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/typeof.html">http://www.boost.org/doc/libs/master/doc/html/typeof.html</a>
</body>
</html>

16
doc/html/unordered.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/unordered.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/unordered.html">http://www.boost.org/doc/libs/master/doc/html/unordered.html</a>
</body>
</html>

16
doc/html/variant.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/variant.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/variant.html">http://www.boost.org/doc/libs/master/doc/html/variant.html</a>
</body>
</html>

17
doc/html/xpressive.html Normal file
View file

@ -0,0 +1,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Copyright (C) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
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) -->
<title>Redirect to generated documentation</title>
<meta http-equiv="refresh" content="0; URL=http://www.boost.org/doc/libs/master/doc/html/xpressive.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="http://www.boost.org/doc/libs/master/doc/html/xpressive.html">http://www.boost.org/doc/libs/master/doc/html/xpressive.html</a>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

293
doc/pdf/Jamfile.v2 Normal file
View file

@ -0,0 +1,293 @@
# Copyright (c) 2008 John Maddock
#
# 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 boostbook ;
import os ;
import common ;
import doxygen ;
import quickbook ;
project : requirements <include>../../libs/geometry/doc ;
boostbook array_docs
: ../../libs/array/doc/array.xml
:
<format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html
<format>pdf
;
boostbook any_docs
: ../../libs/any/doc/any.xml
:
<format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html
<format>pdf
;
install pdf-install
:
array_docs
any_docs
../../libs/align/doc//standalone
../../libs/atomic/doc//standalone
../../libs/accumulators/doc//standalone
../../libs/algorithm/string/doc//string_algo
../../libs/algorithm/doc//standalone
../../libs/bimap/doc//standalone
../../libs/bind/doc//ref-doc
../../libs/chrono/doc//standalone
../../libs/concept_check/doc//concepts
../../libs/config/doc//standalone
../../libs/context/doc//context
../../libs/core/doc//standalone
../../libs/date_time/xmldoc//date_time
../../libs/dll/doc//dll-doc
../../libs/foreach/doc//standalone
../../libs/function/doc//function-doc
# ../../libs/functional/overloaded_function/doc//doc
../../libs/fusion/doc//quickbook
#../../libs/geometry/doc//geometry
../../libs/heap/doc//standalone
../../libs/icl/doc//standalone
../../libs/integer/doc//standalone
../../libs/iterator/doc//standalone
../../libs/lambda/doc//lambda-doc
../../libs/lockfree/doc//standalone
../../libs/lexical_cast/doc//standalone
# ../../libs/local_function/doc//doc
../../libs/logic/doc//tribool
../../libs/move/doc//standalone
../../libs/mpi/doc//standalone
../../libs/numeric/conversion/doc//standalone
# ../../libs/numeric/odeint/doc//standalone
../../libs/optional/doc//standalone
../../libs/phoenix/doc//phoenix-doc
../../libs/program_options/doc//program_option
../../libs/property_tree/doc//standalone
../../libs/proto/doc//standalone
# Invalid Jamfile, doesn't use Boostbook anyway??
#../../libs/ptr_container/doc//standalone
../../libs/ratio/doc//standalone
../../libs/random/doc//standalone
../../libs/regex/doc//standalone
../../libs/spirit/repository/doc//spirit2_repository
../../libs/static_assert/doc//standalone
../../libs/thread/doc//standalone
../../libs/tr1/doc//standalone
../../libs/type_index/doc//standalone
../../libs/type_traits/doc//pdfinstall
../../libs/typeof/doc//standalone
../../libs/units/doc//standalone
# ../../libs/utility/identity_type/doc//doc
../../libs/unordered/doc//standalone
../../libs/variant/doc//variant-doc
../../libs/xpressive/doc//standalone
../../libs/utility/doc//standalone_base_from_member
../../libs/utility/doc//standalone_compressed_pair
../../libs/utility/doc//standalone_declval
../../libs/utility/doc//standalone_string_ref
../../tools/boostbook/doc//boostbook
../../tools/build/doc//jam_docs
../../tools/quickbook/doc//standalone
../../tools/bcp/doc//standalone
:
<location>.
<install-type>PDF
<format>pdf
;
install python-tutorial-install
:
../../libs/python/doc/tutorial/doc//tutorial
:
<location>.
<install-type>PDF
<format>pdf
<name>python_tutorial.pdf
;
install asio-install
:
../../libs/asio/doc//asio
:
<location>.
<install-type>PDF
<format>pdf
<name>asio.pdf
;
install boost-build-install
:
../../tools/build/doc//userman
:
<location>.
<install-type>PDF
<format>pdf
<name>boost_build.pdf
;
install signals2-install
:
../../libs/signals2/doc//standalone
:
<location>.
<install-type>PDF
<format>pdf
<name>signals2.pdf
<dependency>../../libs/signals2/doc//hello_world_def_code_snippet.xml
;
install range-install
:
../../libs/range/doc//quickbook
:
<location>.
<install-type>PDF
<format>pdf
<name>range.pdf
;
# Just copy the MSM PDF over:
install msm_install : ../../libs/msm/doc/pdf/msm.pdf : <location>. ;
install spirit-install
:
../../libs/spirit/doc//spirit2
:
<location>.
<install-type>PDF
<format>pdf
<name>spirit2.pdf
;
install scope_exit_install
:
../../libs/scope_exit/doc//doc
:
<location>.
<install-type>PDF
<format>pdf
<name>scope_exit.pdf
;
install math_install
:
../../libs/math/doc//standalone
:
<location>.
<install-type>PDF
<format>pdf
<name>math.pdf
;
install multiprecision_install
:
../../libs/multiprecision/doc//standalone
:
<location>.
<install-type>PDF
<format>pdf
<name>multiprecision.pdf
;
install tti_install
:
../../libs/tti/doc//standalone
:
<location>.
<install-type>PDF
<format>pdf
<name>TypeTraitsIntrospection.pdf
;
install circular_buffer_install
:
../../libs/circular_buffer/doc//standalone
:
<location>.
<install-type>PDF
<format>pdf
<name>circular_buffer.pdf
;
install coroutine_install
:
../../libs/coroutine/doc//coro
:
<location>.
<install-type>PDF
<format>pdf
<name>coroutine.pdf
;
install pool_install
:
../../libs/pool/doc//standalone
:
<location>.
<install-type>PDF
<format>pdf
<name>pool.pdf
;
install multi_array_install
:
../../libs/multi_array/doc/xml//multi_array-doc
:
<location>.
<install-type>PDF
<format>pdf
<name>multi_array.pdf
;
install factory_install
:
../../libs/functional/factory/doc//standalone
:
<location>.
<install-type>PDF
<format>pdf
<name>functional_factory.pdf
;
install forward_install
:
../../libs/functional/forward/doc//standalone
:
<location>.
<install-type>PDF
<format>pdf
<name>functional_forward.pdf
;
install hash_install
:
../../libs/functional/hash/doc//standalone
:
<location>.
<install-type>PDF
<format>pdf
<name>functional_hash.pdf
;
install log_install
:
../../libs/log/doc//log
:
<location>.
<install-type>PDF
<format>pdf
<name>log.pdf
;

19
doc/pdf/build Normal file
View file

@ -0,0 +1,19 @@
#!/usr/bin/env bash
boost_version=$(grep 'define.*BOOST_LIB_VERSION' ../../boost/version.hpp | sed 's/.*"\([^"]*\)".*/\1/')
echo Boost version tag = $boost_version
(cd ../../libs/accumulators/doc && bjam -a --hash) 2>&1 | tee build.log
(cd ../../libs/container/doc && rm -rf *.pdf && bjam -a --hash pdfinstall xsl:param=fop1.extensions=1 && cp *.pdf ../../../doc/pdf) 2>&1 | tee -a build.log
(cd ../../libs/interprocess/doc && rm -rf *.pdf && bjam -a --hash pdf pdfinstall xsl:param=fop1.extensions=1 && cp *.pdf ../../../doc/pdf) 2>&1 | tee -a build.log
(cd ../../libs/intrusive/doc && rm -rf *.pdf && bjam -a --hash pdf pdfinstall xsl:param=fop1.extensions=1 && cp *.pdf ../../../doc/pdf) 2>&1 | tee -a build.log
(cd ../../libs/functional/overloaded_function/doc && rm -rf *.pdf && bjam -a --hash pdf pdfinstall && cp *.pdf ../../../../doc/pdf) 2>&1 | tee -a build.log
(cd ../../libs/local_function/doc && rm -rf *.pdf && bjam -a --hash pdf pdfinstall && cp *.pdf ../../../doc/pdf) 2>&1 | tee -a build.log
(cd ../../libs/utility/identity_type/doc && rm -rf *.pdf && bjam -a --hash pdf pdf_doc_install && cp *.pdf ../../../../doc/pdf) 2>&1 | tee -a build.log
(cd ../../libs/numeric/odeint/doc && rm -rf *.pdf && bjam -a --hash --enable-index pdf pdfinstall && cp *.pdf ../../../../doc/pdf) 2>&1 | tee -a build.log
(cd ../../libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk && bjam release) 2>&1 | tee -a build.log
cp ../../dist/bin/doxygen_xml2qbk* /usr/bin
chmod +wrx /usr/bin/doxygen_xml2qbk*
(cd ../../libs/geometry/doc && rm -rf *.pdf && ./make_qbk.py && bjam pdfinstall -a --hash xsl:param=fop1.extensions=1 xsl:param=xep.extensions=0 && cp *.pdf ../../../doc/pdf) 2>&1 | tee -a build.log
bjam -a --hash --enable-index pdf -d2 xsl:param=fop1.extensions=0 xsl:param=xep.extensions=1 2>&1 | tee -a build.log
rm -rf boost_${boost_version}_pdf
mkdir boost_${boost_version}_pdf
mv *.pdf boost_${boost_version}_pdf

73
doc/src/boost.xml Normal file
View file

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE boostbook PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
"http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
<boostbook id="boost" xmlns:xi="http://www.w3.org/2001/XInclude"
last-revision="$Date$">
<title>The Boost C++ Libraries BoostBook Documentation Subset</title>
<preface id="about">
<title>What's Included in This Document</title>
<para>This document represents only a subset of the full Boost
documentation: that part which is generated from BoostBook or
QuickBook sources. Eventually all Boost libraries may use these
formats, but in the meantime, much of Boost's documentation is not
available here. Please
see <ulink
url="http://www.boost.org/libs">http://www.boost.org/libs</ulink>
for complete documentation.
</para>
<para>
Documentation for some of the libraries described in this document is
available in alternative formats:
<itemizedlist>
<listitem>
<simpara><link linkend="boost">HTML</link></simpara>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<simpara><ulink url="http://sourceforge.net/projects/boost/files/boost-docs/">PDF</ulink></simpara>
</listitem>
</itemizedlist>
</para>
</preface>
<part id="libraries">
<title>The Boost C++ Libraries (BoostBook Subset)</title>
<xi:include href="libraries.xinclude" xpointer="xpointer(/*/node())"/>
<library name="Concept Check" dirname="concept_check" id="concept_check">
<libraryinfo>
<author>
<firstname>Jeremy</firstname>
<surname>Siek</surname>
</author>
<librarypurpose>Tools for generic programming</librarypurpose>
<librarycategory name="category:generic"/>
<librarycategory name="category:testing"/>
</libraryinfo>
<title>Boost.Concept_Check</title>
<xi:include href="../../libs/concept_check/doc/reference/concepts.xml"/>
</library>
</part>
<part id="tools">
<title>Boost Tools</title>
<partintro>
<para>
Boost developers, testers, and maintainers have developed various programs to
help with the administration of the Boost Libraries. Like everything else about
Boost, these tools are available in source form, and are part of the regular
Boost distribution.
</para>
<para>
Users may find these tools useful when porting Boost libraries to a new platform,
or for use with their own applications.
</para>
</partintro>
<xi:include href="tools.xinclude" xpointer="xpointer(/*/node())"/>
</part>
</boostbook>

789
doc/src/boostbook.css Normal file
View file

@ -0,0 +1,789 @@
/*=============================================================================
Copyright (c) 2004 Joel de Guzman
http://spirit.sourceforge.net/
Copyright 2013 Niall Douglas additions for colors and alignment.
Copyright 2013 Paul A. Bristow additions for more colors and alignments.
Copyright 2017 Tom Westerhout font fixes to support Sphinx
Distributed under the Boost Software License, Version 1.0. (See accompany-
ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=============================================================================*/
/*=============================================================================
Body defaults
=============================================================================*/
body
{
margin: 1em;
font-size: 16px;
font-family: sans-serif;
}
/*=============================================================================
Paragraphs
=============================================================================*/
p, div.document, div.footer
{
text-align: left;
font-size: 10pt;
line-height: 1.15;
}
/*=============================================================================
Program listings
=============================================================================*/
/* Code on paragraphs */
p tt.computeroutput
{
font-size: 9pt;
}
pre.synopsis
{
font-size: 9pt;
margin: 1pc 4% 0pc 4%;
padding: 0.5pc 0.5pc 0.5pc 0.5pc;
}
div.highlight,
.programlisting,
.screen
{
font-size: 9pt;
display: block;
margin: 1pc 4% 0pc 4%;
padding: 0.5pc 0.5pc 0.5pc 0.5pc;
}
/* Program listings in tables don't get borders */
td .programlisting,
td .screen
{
margin: 0pc 0pc 0pc 0pc;
padding: 0pc 0pc 0pc 0pc;
}
/*=============================================================================
Headings
=============================================================================*/
h1, h2, h3, h4, h5, h6
{
text-align: left;
margin: 1em 0em 0.5em 0em;
font-weight: bold;
}
h1 { font-size: 140%; }
h2 { font-weight: bold; font-size: 140%; }
h3 { font-weight: bold; font-size: 130%; }
h4 { font-weight: bold; font-size: 120%; }
h5 { font-weight: normal; font-style: italic; font-size: 110%; }
h6 { font-weight: normal; font-style: italic; font-size: 100%; }
/* Top page titles */
title,
h1.title,
h2.title
h3.title,
h4.title,
h5.title,
h6.title,
.refentrytitle
{
font-weight: bold;
margin-bottom: 1pc;
}
h1.title { font-size: 140% }
h2.title { font-size: 140% }
h3.title { font-size: 130% }
h4.title { font-size: 120% }
h5.title { font-size: 110% }
h6.title { font-size: 100% }
.section h1
{
margin: 0em 0em 0.5em 0em;
font-size: 140%;
}
.section h2 { font-size: 140% }
.section h3 { font-size: 130% }
.section h4 { font-size: 120% }
.section h5 { font-size: 110% }
.section h6 { font-size: 100% }
/* Code on titles */
h1 tt.computeroutput { font-size: 140% }
h2 tt.computeroutput { font-size: 140% }
h3 tt.computeroutput { font-size: 130% }
h4 tt.computeroutput { font-size: 130% }
h5 tt.computeroutput { font-size: 130% }
h6 tt.computeroutput { font-size: 130% }
/*=============================================================================
Author
=============================================================================*/
h3.author
{
font-size: 100%
}
/*=============================================================================
Lists
=============================================================================*/
li
{
font-size: 10pt;
line-height: 1.3;
}
/* Unordered lists */
ul
{
text-align: left;
}
/* Ordered lists */
ol
{
text-align: left;
}
/*=============================================================================
Links
=============================================================================*/
a
{
text-decoration: none; /* no underline */
}
a:hover
{
text-decoration: underline;
}
/*=============================================================================
Spirit style navigation
=============================================================================*/
.spirit-nav
{
text-align: right;
}
.spirit-nav a
{
color: white;
padding-left: 0.5em;
}
.spirit-nav img
{
border-width: 0px;
}
/*=============================================================================
Copyright footer
=============================================================================*/
.copyright-footer
{
text-align: right;
font-size: 70%;
}
.copyright-footer p
{
text-align: right;
font-size: 80%;
}
/*=============================================================================
Table of contents
=============================================================================*/
div.toc
{
margin: 1pc 4% 0pc 4%;
padding: 0.1pc 1pc 0.1pc 1pc;
font-size: 80%;
line-height: 1.15;
}
.boost-toc
{
float: right;
padding: 0.5pc;
}
/* Code on toc */
.toc .computeroutput { font-size: 120% }
/* No margin on nested menus */
.toc dl dl { margin: 0; }
/*=============================================================================
Tables
=============================================================================*/
.table-title,
div.table p.title
{
margin-left: 4%;
padding-right: 0.5em;
padding-left: 0.5em;
}
.informaltable table,
.table table
{
width: 92%;
margin-left: 4%;
margin-right: 4%;
}
div.informaltable table,
div.table table
{
padding: 4px;
}
/* Table Cells */
div.informaltable table tr td,
div.table table tr td
{
padding: 0.5em;
text-align: left;
font-size: 9pt;
}
div.informaltable table tr th,
div.table table tr th
{
padding: 0.5em 0.5em 0.5em 0.5em;
border: 1pt solid white;
font-size: 80%;
}
table.simplelist
{
width: auto !important;
margin: 0em !important;
padding: 0em !important;
border: none !important;
}
table.simplelist td
{
margin: 0em !important;
padding: 0em !important;
text-align: left !important;
font-size: 9pt !important;
border: none !important;
}
/*=============================================================================
Suppress margins in tables
=============================================================================*/
table th > *:first-child,
table td > *:first-child
{
margin-top: 0;
}
table th > *:last-child,
table td > *:last-child
{
margin-bottom: 0;
}
/*=============================================================================
Blurbs
=============================================================================*/
div.note,
div.tip,
div.important,
div.caution,
div.warning,
div.blurb,
p.blurb
{
font-size: 9pt; /* A little bit smaller than the main text */
line-height: 1.2;
display: block;
margin: 1pc 4% 0pc 4%;
padding: 0.5pc 0.5pc 0.5pc 0.5pc;
}
div.blurb img,
p.blurb img
{
padding: 1pt;
}
/*=============================================================================
Variable Lists
=============================================================================*/
div.variablelist
{
margin: 1em 0;
}
/* Make the terms in definition lists bold */
div.variablelist dl dt,
span.term
{
font-weight: bold;
font-size: 10pt;
}
div.variablelist table tbody tr td
{
text-align: left;
vertical-align: top;
padding: 0em 2em 0em 0em;
font-size: 10pt;
margin: 0em 0em 0.5em 0em;
line-height: 1;
}
div.variablelist dl dt
{
margin-bottom: 0.2em;
}
div.variablelist dl dd
{
margin: 0em 0em 0.5em 2em;
font-size: 10pt;
}
div.variablelist table tbody tr td p,
div.variablelist dl dd p
{
margin: 0em 0em 0.5em 0em;
line-height: 1;
}
/*=============================================================================
Misc
=============================================================================*/
/* Title of books and articles in bibliographies */
span.title
{
font-style: italic;
}
span.underline
{
text-decoration: underline;
}
span.strikethrough
{
text-decoration: line-through;
}
/* Copyright, Legal Notice */
div div.legalnotice p
{
text-align: left
}
/*=============================================================================
Colors
=============================================================================*/
@media screen
{
body {
background-color: #FFFFFF;
color: #000000;
}
/* Syntax Highlighting */
.property,
.highlight .k,
.highlight .kc,
.highlight .kd,
.highlight .kn,
.highlight .kp,
.highlight .kr,
.highlight .kt,
.keyword { color: #0000AA; }
.highlight .n,
.highlight .na,
.highlight .nb,
.highlight .bp,
.highlight .nc,
.highlight .no,
.highlight .nd,
.highlight .ni,
.highlight .ne,
.highlight .nf,
.highlight .py,
.highlight .nl,
.highlight .nn,
.highlight .nx,
.highlight .nt,
.highlight .nv,
.highlight .vc,
.highlight .vg,
.highlight .vi,
.identifier { color: #000000; }
.special { color: #707070; }
.highlight .cp,
.preprocessor { color: #402080; }
.highlight .sc
.char { color: teal; }
.highlight .c,
.highlight .ch,
.highlight .cm,
.highlight .cp,
.highlight .cpf,
.highlight .c1,
.highlight .cs,
.highlight .sd,
.highlight .sh,
.comment { color: #800000; }
.highlight .s,
.highlight .sa,
.highlight .sb,
.highlight .dl,
.highlight .s2,
.highlight .se,
.highlight .si,
.highlight .sx,
.highlight .sr,
.highlight .s1,
.highlight .ss,
.string { color: teal; }
.highlight .m,
.highlight .mf,
.highlight .mh,
.highlight .mi,
.highlight .mo,
.number { color: teal; }
.highlight,
.white_bkd { background-color: #FFFFFF; }
.highlight .hll,
.dk_grey_bkd { background-color: #999999; }
/* Links */
a, a .keyword, a .identifier, a .special, a .preprocessor
a .char, a .comment, a .string, a .number
{
color: #005a9c;
}
a:visited, a:visited .keyword, a:visited .identifier,
a:visited .special, a:visited .preprocessor a:visited .char,
a:visited .comment, a:visited .string, a:visited .number
{
color: #9c5a9c;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
{
text-decoration: none; /* no underline */
color: #000000;
}
/* Copyright, Legal Notice */
.copyright
{
color: #666666;
font-size: small;
}
div div.legalnotice p
{
color: #666666;
}
/* Program listing */
pre.synopsis
{
border: 1px solid #DCDCDC;
}
div.highlight,
.programlisting,
.screen
{
border: 1px solid #DCDCDC;
}
td .programlisting,
td .screen
{
border: 0px solid #DCDCDC;
}
/* Blurbs */
div.note,
div.tip,
div.important,
div.caution,
div.warning,
div.blurb,
p.blurb
{
border: 1px solid #DCDCDC;
}
/* Table of contents */
div.toc
{
border: 1px solid #DCDCDC;
}
/* Tables */
div.informaltable table tr td,
div.table table tr td
{
border: 1px solid #DCDCDC;
}
div.informaltable table tr th,
div.table table tr th
{
background-color: #F0F0F0;
border: 1px solid #DCDCDC;
}
.copyright-footer
{
color: #8F8F8F;
}
/* Misc */
span.highlight
{
color: #00A000;
}
}
@media print
{
/* Links */
a
{
color: black;
}
a:visited
{
color: black;
}
.spirit-nav
{
display: none;
}
/* Program listing */
pre.synopsis
{
border: 1px solid gray;
}
div.highlight,
.programlisting,
.screen
{
border: 1px solid gray;
}
td .programlisting,
td .screen
{
border: 0px solid #DCDCDC;
}
/* Table of contents */
div.toc
{
border: 1px solid gray;
}
.informaltable table,
.table table
{
border: 1px solid gray;
border-collapse: collapse;
}
/* Tables */
div.informaltable table tr td,
div.table table tr td
{
border: 1px solid gray;
}
div.informaltable table tr th,
div.table table tr th
{
border: 1px solid gray;
}
table.simplelist tr td
{
border: none !important;
}
/* Misc */
span.highlight
{
font-weight: bold;
}
}
/*=============================================================================
Images
=============================================================================*/
span.inlinemediaobject img
{
vertical-align: middle;
}
/*==============================================================================
Super and Subscript: style so that line spacing isn't effected, see
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341
==============================================================================*/
sup,
sub {
height: 0;
line-height: 1;
vertical-align: baseline;
position: relative;
}
/* For internet explorer: */
* html sup,
* html sub {
vertical-align: bottom;
}
sup {
bottom: 1ex;
}
sub {
top: .5ex;
}
/*==============================================================================
Indexes: pretty much the same as the TOC.
==============================================================================*/
.index
{
font-size: 80%;
padding-top: 0px;
padding-bottom: 0px;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
}
.index ul
{
padding-left: 3em;
}
.index p
{
padding: 2px;
margin: 2px;
}
.index-entry-level-0
{
font-weight: bold;
}
.index em
{
font-weight: bold;
}
/*==============================================================================
Alignment and coloring use 'role' feature, available from Quickbook 1.6 up.
Added from Niall Douglas for role color and alignment.
http://article.gmane.org/gmane.comp.lib.boost.devel/243318
*/
/* Add text alignment (see http://www.w3schools.com/cssref/pr_text_text-align.asp) */
span.aligncenter
{
display: inline-block; width: 100%; text-align: center;
}
span.alignright
{
display: inline-block; width: 100%; text-align: right;
}
/* alignleft is the default. */
span.alignleft
{
display: inline-block; width: 100%; text-align: left;
}
/* alignjustify stretches the word spacing so that each line has equal width
within a chosen fraction of page width (here arbitrarily 20%).
*Not* useful inside table items as the column width remains the total string width.
Nor very useful, except to temporarily restrict the width.
*/
span.alignjustify
{
display: inline-block; width: 20%; text-align: justify;
}
/* Text colors.
Names at http://www.w3.org/TR/2002/WD-css3-color-20020219/ 4.3. X11 color keywords.
Quickbook Usage: [role red Some red text]
*/
span.red { inline-block; color: red; }
span.green { color: green; }
span.lime { color: #00FF00; }
span.blue { color: blue; }
span.navy { color: navy; }
span.yellow { color: yellow; }
span.magenta { color: magenta; }
span.indigo { color: #4B0082; }
span.cyan { color: cyan; }
span.purple { color: purple; }
span.gold { color: gold; }
span.silver { color: silver; } /* lighter gray */
span.gray { color: #808080; } /* light gray */

275
doc/src/docutils.css Normal file
View file

@ -0,0 +1,275 @@
/*
:Author: David Goodger
:Contact: goodger@python.org
:Date: $Date$
:Revision: $Revision$
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
border: 0 }
table.borderless td, table.borderless th {
/* Override padding for "table.docutils td" with "! important".
The right padding separates the table cells. */
padding: 0 0.5em 0 0 ! important }
.first {
/* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {
margin-bottom: 0 ! important }
.hidden {
display: none }
a.toc-backref {
text-decoration: none ;
color: black }
blockquote.epigraph {
margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
*/
div.abstract {
margin: 2em 5em }
div.abstract p.topic-title {
font-weight: bold ;
text-align: center }
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
margin: 2em ;
border: medium outset ;
padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
font-weight: bold ;
font-family: sans-serif }
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title {
color: red ;
font-weight: bold ;
font-family: sans-serif }
/* Uncomment (and remove this text!) to get reduced vertical space in
compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
margin-bottom: 0.5em }
div.compound .compound-last, div.compound .compound-middle {
margin-top: 0.5em }
*/
div.dedication {
margin: 2em 5em ;
text-align: center ;
font-style: italic }
div.dedication p.topic-title {
font-weight: bold ;
font-style: normal }
div.figure {
margin-left: 2em ;
margin-right: 2em }
div.footer, div.header {
clear: both;
font-size: smaller }
div.line-block {
display: block ;
margin-top: 1em ;
margin-bottom: 1em }
div.line-block div.line-block {
margin-top: 0 ;
margin-bottom: 0 ;
margin-left: 1.5em }
div.sidebar {
margin-left: 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
width: 40% ;
float: right ;
clear: right }
div.sidebar p.rubric {
font-family: sans-serif ;
font-size: medium }
div.system-messages {
margin: 5em }
div.system-messages h1 {
color: red }
div.system-message {
border: medium outset ;
padding: 1em }
div.system-message p.system-message-title {
color: red ;
font-weight: bold }
div.topic {
margin: 2em }
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
margin-top: 0.4em }
h1.title {
text-align: center }
h2.subtitle {
text-align: center }
hr.docutils {
width: 75% }
img.align-left {
clear: left }
img.align-right {
clear: right }
ol.simple, ul.simple {
margin-bottom: 1em }
ol.arabic {
list-style: decimal }
ol.loweralpha {
list-style: lower-alpha }
ol.upperalpha {
list-style: upper-alpha }
ol.lowerroman {
list-style: lower-roman }
ol.upperroman {
list-style: upper-roman }
p.attribution {
text-align: right ;
margin-left: 50% }
p.caption {
font-style: italic }
p.credits {
font-style: italic ;
font-size: smaller }
p.label {
white-space: nowrap }
p.rubric {
font-weight: bold ;
font-size: larger ;
color: maroon ;
text-align: center }
p.sidebar-title {
font-family: sans-serif ;
font-weight: bold ;
font-size: larger }
p.sidebar-subtitle {
font-family: sans-serif ;
font-weight: bold }
p.topic-title {
font-weight: bold }
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
font-family: serif ;
font-size: 100% }
pre.literal-block, pre.doctest-block {
margin-left: 2em ;
margin-right: 2em }
span.classifier {
font-family: sans-serif ;
font-style: oblique }
span.classifier-delimiter {
font-family: sans-serif ;
font-weight: bold }
span.interpreted {
font-family: sans-serif }
span.option {
white-space: nowrap }
span.pre {
white-space: pre }
span.problematic {
color: red }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
table.citation {
border-left: solid 1px gray;
margin-left: 1px }
table.docinfo {
margin: 2em 4em }
table.docutils {
margin-top: 0.5em ;
margin-bottom: 0.5em }
table.footnote {
border-left: solid 1px black;
margin-left: 1px }
table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
padding-left: 0.5em ;
padding-right: 0.5em ;
vertical-align: top }
table.docutils th.field-name, table.docinfo th.docinfo-name {
font-weight: bold ;
text-align: left ;
white-space: nowrap ;
padding-left: 0 }
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
ul.auto-toc {
list-style-type: none }

BIN
doc/src/images/alert.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 603 B

BIN
doc/src/images/blank.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 B

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
<!DOCTYPE svg [
<!ENTITY ns_svg "http://www.w3.org/2000/svg">
<!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
]>
<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
<g>
<g style="enable-background:new ;">
<path style="fill:#FFFFFF;" d="M10.428,10.411h0.56c3.78,0,4.788-1.96,4.872-3.444h3.22v19.88h-3.92V13.154h-4.732V10.411z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
<!DOCTYPE svg [
<!ENTITY ns_svg "http://www.w3.org/2000/svg">
<!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
]>
<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
<g>
<g style="enable-background:new ;">
<path style="fill:#FFFFFF;" d="M3.815,10.758h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76v17.04h-3.36V13.11H3.815V10.758z"/>
<path style="fill:#FFFFFF;" d="M22.175,7.806c4.009,0,5.904,2.76,5.904,8.736c0,5.975-1.896,8.76-5.904,8.76
c-4.008,0-5.904-2.785-5.904-8.76C16.271,10.566,18.167,7.806,22.175,7.806z M22.175,22.613c1.921,0,2.448-1.68,2.448-6.071
c0-4.393-0.527-6.049-2.448-6.049c-1.92,0-2.448,1.656-2.448,6.049C19.727,20.934,20.255,22.613,22.175,22.613z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
<!DOCTYPE svg [
<!ENTITY ns_svg "http://www.w3.org/2000/svg">
<!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
]>
<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33"
style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve">
<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/>
<g>
<g style="enable-background:new ;">
<path style="fill:#FFFFFF;" d="M5.209,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H5.209V10.412z"/>
<path style="fill:#FFFFFF;" d="M18.553,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.359V12.764h-4.056V10.412z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 827 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 B

Some files were not shown because too many files have changed in this diff Show more