Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use install- features instead of package module #70

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
# 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 make ;

project /boost/tools/boost_install ;

# BoostConfigVersion.cmake

generate BoostConfigVersion.cmake : : <generating-rule>@boost-install%generate-cmake-config-version <name>Boost <version>$(BOOST_VERSION) ;
make BoostConfigVersion.cmake : : @boost-install%make-cmake-config-version : <version>$(BOOST_VERSION) ;
explicit BoostConfigVersion.cmake ;
55 changes: 2 additions & 53 deletions boost-install-dirs.jam
Original file line number Diff line number Diff line change
Expand Up @@ -6,60 +6,9 @@ import modules ;
import boostcpp ;
import package ;
import path ;
import stage ;

# includedir

rule includedir
{
if ! $(.includedir)
{
local paths = [ package.paths Boost ] ;
.includedir = [ $(paths).includedir ] ;
}

return $(.includedir) ;
}

# bindir

rule bindir
{
if ! $(.bindir)
{
local paths = [ package.paths Boost ] ;
.bindir = [ $(paths).bindir ] ;
}

return $(.bindir) ;
}

# libdir

rule libdir
{
if ! $(.libdir)
{
local paths = [ package.paths Boost ] ;
.libdir = [ $(paths).libdir ] ;
}

return $(.libdir) ;
}

# cmakedir

rule cmakedir
{
if ! $(.cmakedir)
{
package.add-path-option cmakedir : cmake : libdir ;

local paths = [ package.paths Boost ] ;
.cmakedir = [ $(paths).get cmakedir ] ;
}

return $(.cmakedir) ;
}
stage.add-install-dir cmakedir : cmake : libdir ;

# header-subdir

Expand Down
Loading