From 8e5375cb416829a61081e86d17210e0b9a8bdca2 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 24 Mar 2024 18:22:35 -0500 Subject: [PATCH] Tweaks to normalize tool modular building. --- Jamfile.v2 | 58 +++++++++++++++++------------------------------------- 1 file changed, 18 insertions(+), 40 deletions(-) diff --git a/Jamfile.v2 b/Jamfile.v2 index 6ff414e..61b1379 100644 --- a/Jamfile.v2 +++ b/Jamfile.v2 @@ -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 - : - EXE - $(DIST_DIR)/bin - : - release - ] - - [ - install dist-lib - : - bcp - : - LIB - $(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/static + : EXE $(DIST_DIR)/bin + : release ] + [ alias dist : dist-bin ] [ alias all : bcp test dist ] ;