Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify for modular building. #890

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 20 additions & 51 deletions tools/Jamfile.v2
Original file line number Diff line number Diff line change
@@ -1,55 +1,24 @@
# Copyright 2005 Rene Rivera
# Copyright 2005 Hartmut Kaiser
# Copyright 2005 John Maddock
# Copyright 2003 Vladimir Prus
# 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)
# Copyright 2005,2024 René Ferdinand Rivera Morell
# Copyright 2005 Hartmut Kaiser
# Copyright 2005 John Maddock
# Copyright 2003 Vladimir Prus
# 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)


# Jamfile which builds all the tools.
# Jamfile which builds or installs all the tools.

project
:
requirements
<link>static
<implicit-dependency>/boost//headers
:
usage-requirements <implicit-dependency>/boost//headers
;

TOOLS =
bcp//bcp
inspect/build//inspect
quickbook//quickbook
/boost/libs/wave/tool//wave
;

install dist-bin
:
$(TOOLS)
:
<install-type>EXE
<location>../dist/bin
:
release
;

install dist-lib
:
$(TOOLS)
:
<install-type>LIB
<location>../dist/lib
:
release
;

local patterns = *.dtd *.xml *.xsl LICENSE ;
local dirs = boostbook/dtd boostbook/xsl ;
install dist-share-boostbook
:
[ glob $(dirs)/$(patterns) $(dirs)/*/$(patterns) $(dirs)/*/*/$(patterns) ]
:
<location>../dist/share
<install-source-root>.
alias dist
: auto_index//dist
bcp//dist
boost_install//dist
boostbook//dist
boostdep//dist
inspect//dist
quickbook//dist
:
: # default-build
release
<link>static
<cxxstd>11
;
Loading