mirror of
https://github.com/boostorg/boost_install.git
synced 2026-01-19 04:02:13 +00:00
Tweaks to normalize tool modular building.
This commit is contained in:
20
Jamfile
20
Jamfile
@@ -1,7 +1,17 @@
|
||||
# Copyright 2019 Peter Dimov
|
||||
# Copyright René Ferdinand Rivera Morell 2024
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
|
||||
|
||||
import option ;
|
||||
import path ;
|
||||
|
||||
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 ] ] ;
|
||||
|
||||
project /boost/boost_install ;
|
||||
|
||||
# BoostConfigVersion.cmake
|
||||
@@ -10,6 +20,10 @@ generate BoostConfigVersion.cmake : : <generating-rule>@boost-install%generate-c
|
||||
explicit BoostConfigVersion.cmake ;
|
||||
|
||||
explicit
|
||||
[ alias boost_install ]
|
||||
[ alias all : BoostConfigVersion.cmake ]
|
||||
;
|
||||
[ install dist-cmake
|
||||
: BoostConfigVersion.cmake [ glob *.cmake ]
|
||||
: <location>$(DIST_DIR)/libs/cmake ]
|
||||
[ alias dist : dist-cmake ]
|
||||
[ alias boost_install ]
|
||||
[ alias all : boost_install dist ]
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user