-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweaks to normalize tool modular building.
- Loading branch information
1 parent
f0d9bd6
commit 8e5375c
Showing
1 changed file
with
18 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,34 @@ | ||
# (C) Copyright John Maddock 2006. | ||
# Copyright René Ferdinand Rivera Morell 2024 | ||
# 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) | ||
|
||
import option ; | ||
import path ; | ||
|
||
project /boost/bcp | ||
; | ||
|
||
local DIST_DIR = [ option.get distdir ] ; | ||
DIST_DIR ?= [ option.get build-dir ] ; | ||
DIST_DIR ?= [ path.join $(BOOST_ROOT) dist ] ; | ||
DIST_DIR ?= dist ; | ||
DIST_DIR = [ path.root [ path.make $(DIST_DIR) ] [ path.pwd ] ] ; | ||
|
||
explicit | ||
|
||
[ | ||
exe bcp | ||
: | ||
add_dependent_lib.cpp add_path.cpp bcp_imp.cpp copy_path.cpp file_types.cpp | ||
fileview.cpp main.cpp path_operations.cpp scan_cvs_path.cpp | ||
licence_info.cpp scan_licence.cpp output_licence_info.cpp | ||
/boost/filesystem//boost_filesystem | ||
/boost/regex//boost_regex | ||
: | ||
: | ||
release | ||
] | ||
|
||
[ | ||
install dist-bin | ||
: | ||
bcp | ||
: | ||
<install-type>EXE | ||
<location>$(DIST_DIR)/bin | ||
: | ||
release | ||
] | ||
|
||
[ | ||
install dist-lib | ||
: | ||
bcp | ||
: | ||
<install-type>LIB | ||
<location>$(DIST_DIR)/lib | ||
: | ||
release | ||
] | ||
project /boost/bcp | ||
; | ||
|
||
[ alias dist : dist-bin dist-lib ] | ||
explicit | ||
[ exe bcp | ||
: | ||
add_dependent_lib.cpp add_path.cpp bcp_imp.cpp copy_path.cpp file_types.cpp | ||
fileview.cpp main.cpp path_operations.cpp scan_cvs_path.cpp | ||
licence_info.cpp scan_licence.cpp output_licence_info.cpp | ||
/boost/filesystem//boost_filesystem | ||
/boost/regex//boost_regex | ||
: | ||
: release ] | ||
[ install dist-bin | ||
: bcp/<link>static | ||
: <install-type>EXE <location>$(DIST_DIR)/bin | ||
: release ] | ||
[ alias dist : dist-bin ] | ||
[ alias all : bcp test dist ] | ||
; |