Skip to content

Commit

Permalink
Tweaks to normalize tool modular building.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Mar 24, 2024
1 parent f0d9bd6 commit 8e5375c
Showing 1 changed file with 18 additions and 40 deletions.
58 changes: 18 additions & 40 deletions Jamfile.v2
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 ]
;

0 comments on commit 8e5375c

Please sign in to comment.