mirror of
https://github.com/boostorg/boostdep.git
synced 2026-01-19 16:12:13 +00:00
30 lines
812 B
Plaintext
30 lines
812 B
Plaintext
# 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://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
require-b2 5.2 ;
|
|
|
|
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/boostdep : default-build release ;
|
|
|
|
install dist-bin : build//boostdep/<link>static : <install-type>EXE <location>$(DIST_DIR)/bin ;
|
|
explicit dist-bin ;
|
|
|
|
alias boostdep : build//boostdep ;
|
|
explicit boostdep ;
|
|
|
|
alias all : boostdep test dist-bin ;
|
|
explicit all ;
|
|
|
|
# Install distribution files/execs by default.
|
|
alias dist : dist-bin ;
|