diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22551ae..5989dc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -332,15 +332,9 @@ jobs: fi cd .. git clone -b "$BOOST_BRANCH" --depth 1 "https://github.com/boostorg/boost.git" "boost-root" - cd boost-root - # mkdir -p libs/$LIBRARY - # cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY - # git submodule update --init tools/boostdep - git submodule update --init --recursive - mkdir -p libs/$SELF - cp -r $GITHUB_WORKSPACE/* libs/$SELF - + cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY + git submodule update --init tools/boostdep DEPINST_ARGS+=("$LIBRARY") python tools/boostdep/depinst/depinst.py "${DEPINST_ARGS[@]}" if [ -z "${{matrix.cmake_tests}}" ] diff --git a/Jamfile b/Jamfile deleted file mode 100644 index 306f0f6..0000000 --- a/Jamfile +++ /dev/null @@ -1,10 +0,0 @@ -# -# Copyright (c) 2019 Vinnie Falco (vinnie dot falco at gmail dot com) -# -# 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) -# -# Official repository: https://github.com/boostorg/static_string -# - -build-project test ; diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..632c0c4 --- /dev/null +++ b/build.jam @@ -0,0 +1,28 @@ +# Copyright René Ferdinand Rivera Morell 2023-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 ; + +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config + /boost/container_hash//boost_container_hash + /boost/core//boost_core + /boost/static_assert//boost_static_assert + /boost/throw_exception//boost_throw_exception + /boost/utility//boost_utility ; + +project /boost/static_string + ; + +explicit + [ alias boost_static_string : : : + : include $(boost_dependencies) ] + [ alias all : boost_static_string test ] + ; + +call-if : boost-library static_string + ; + diff --git a/doc/Jamfile b/doc/Jamfile index 25c9a6f..ac02fc8 100644 --- a/doc/Jamfile +++ b/doc/Jamfile @@ -12,7 +12,8 @@ project static_string/doc ; import boostbook ; import type ; import os ; -import ../../../tools/docca/docca.jam ; +import-search /boost/docca ; +import docca ; docca.reference reference.qbk : diff --git a/test/Jamfile b/test/Jamfile index 17231a6..4819625 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -8,7 +8,8 @@ # import testing ; -import ../../config/checks/config : requires ; +import-search /boost/config/checks ; +import config : requires ; local defines = [ requires @@ -20,6 +21,7 @@ local defines = ] ; -project : requirements $(defines) ; +project : requirements $(defines) + /boost/static_string//boost_static_string ; run static_string.cpp ;