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

Add support for modular build structure. #15

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
23 changes: 23 additions & 0 deletions build.jam
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 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/preprocessor//boost_preprocessor ;

project /boost/vmd
: common-requirements
<include>include
;

explicit
[ alias boost_vmd : : : : <library>$(boost_dependencies) ]
[ alias all : boost_vmd test ]
;

call-if : boost-library vmd
;

122 changes: 61 additions & 61 deletions doc/jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -29,66 +29,66 @@ project vmd_doc : requirements

doxygen vmd_reference
:
$(here)/../../../boost/vmd/assert.hpp
$(here)/../../../boost/vmd/assert_is_array.hpp
$(here)/../../../boost/vmd/assert_is_empty.hpp
$(here)/../../../boost/vmd/assert_is_identifier.hpp
$(here)/../../../boost/vmd/assert_is_list.hpp
$(here)/../../../boost/vmd/assert_is_number.hpp
$(here)/../../../boost/vmd/assert_is_seq.hpp
$(here)/../../../boost/vmd/assert_is_tuple.hpp
$(here)/../../../boost/vmd/assert_is_type.hpp
$(here)/../../../boost/vmd/elem.hpp
$(here)/../../../boost/vmd/empty.hpp
$(here)/../../../boost/vmd/enum.hpp
$(here)/../../../boost/vmd/equal.hpp
$(here)/../../../boost/vmd/get_type.hpp
$(here)/../../../boost/vmd/identity.hpp
$(here)/../../../boost/vmd/is_array.hpp
$(here)/../../../boost/vmd/is_empty.hpp
$(here)/../../../boost/vmd/is_empty_array.hpp
$(here)/../../../boost/vmd/is_empty_list.hpp
$(here)/../../../boost/vmd/is_general_identifier.hpp
$(here)/../../../boost/vmd/is_identifier.hpp
$(here)/../../../boost/vmd/is_list.hpp
$(here)/../../../boost/vmd/is_multi.hpp
$(here)/../../../boost/vmd/is_number.hpp
$(here)/../../../boost/vmd/is_parens_empty.hpp
$(here)/../../../boost/vmd/is_seq.hpp
$(here)/../../../boost/vmd/is_tuple.hpp
$(here)/../../../boost/vmd/is_type.hpp
$(here)/../../../boost/vmd/is_unary.hpp
$(here)/../../../boost/vmd/not_equal.hpp
$(here)/../../../boost/vmd/size.hpp
$(here)/../../../boost/vmd/to_array.hpp
$(here)/../../../boost/vmd/to_list.hpp
$(here)/../../../boost/vmd/to_seq.hpp
$(here)/../../../boost/vmd/to_tuple.hpp
$(here)/../../../boost/vmd/array/to_seq.hpp
$(here)/../../../boost/vmd/array/to_tuple.hpp
$(here)/../../../boost/vmd/list/to_seq.hpp
$(here)/../../../boost/vmd/list/to_tuple.hpp
$(here)/../../../boost/vmd/seq/is_vmd_seq.hpp
$(here)/../../../boost/vmd/seq/pop_back.hpp
$(here)/../../../boost/vmd/seq/pop_front.hpp
$(here)/../../../boost/vmd/seq/push_back.hpp
$(here)/../../../boost/vmd/seq/push_front.hpp
$(here)/../../../boost/vmd/seq/remove.hpp
$(here)/../../../boost/vmd/seq/size.hpp
$(here)/../../../boost/vmd/seq/to_array.hpp
$(here)/../../../boost/vmd/seq/to_list.hpp
$(here)/../../../boost/vmd/seq/to_tuple.hpp
$(here)/../../../boost/vmd/tuple/is_vmd_tuple.hpp
$(here)/../../../boost/vmd/tuple/pop_back.hpp
$(here)/../../../boost/vmd/tuple/pop_front.hpp
$(here)/../../../boost/vmd/tuple/push_back.hpp
$(here)/../../../boost/vmd/tuple/push_front.hpp
$(here)/../../../boost/vmd/tuple/remove.hpp
$(here)/../../../boost/vmd/tuple/size.hpp
$(here)/../../../boost/vmd/tuple/to_array.hpp
$(here)/../../../boost/vmd/tuple/to_list.hpp
$(here)/../../../boost/vmd/tuple/to_seq.hpp
:
$(here)/../include/boost/vmd/assert.hpp
$(here)/../include/boost/vmd/assert_is_array.hpp
$(here)/../include/boost/vmd/assert_is_empty.hpp
$(here)/../include/boost/vmd/assert_is_identifier.hpp
$(here)/../include/boost/vmd/assert_is_list.hpp
$(here)/../include/boost/vmd/assert_is_number.hpp
$(here)/../include/boost/vmd/assert_is_seq.hpp
$(here)/../include/boost/vmd/assert_is_tuple.hpp
$(here)/../include/boost/vmd/assert_is_type.hpp
$(here)/../include/boost/vmd/elem.hpp
$(here)/../include/boost/vmd/empty.hpp
$(here)/../include/boost/vmd/enum.hpp
$(here)/../include/boost/vmd/equal.hpp
$(here)/../include/boost/vmd/get_type.hpp
$(here)/../include/boost/vmd/identity.hpp
$(here)/../include/boost/vmd/is_array.hpp
$(here)/../include/boost/vmd/is_empty.hpp
$(here)/../include/boost/vmd/is_empty_array.hpp
$(here)/../include/boost/vmd/is_empty_list.hpp
$(here)/../include/boost/vmd/is_general_identifier.hpp
$(here)/../include/boost/vmd/is_identifier.hpp
$(here)/../include/boost/vmd/is_list.hpp
$(here)/../include/boost/vmd/is_multi.hpp
$(here)/../include/boost/vmd/is_number.hpp
$(here)/../include/boost/vmd/is_parens_empty.hpp
$(here)/../include/boost/vmd/is_seq.hpp
$(here)/../include/boost/vmd/is_tuple.hpp
$(here)/../include/boost/vmd/is_type.hpp
$(here)/../include/boost/vmd/is_unary.hpp
$(here)/../include/boost/vmd/not_equal.hpp
$(here)/../include/boost/vmd/size.hpp
$(here)/../include/boost/vmd/to_array.hpp
$(here)/../include/boost/vmd/to_list.hpp
$(here)/../include/boost/vmd/to_seq.hpp
$(here)/../include/boost/vmd/to_tuple.hpp
$(here)/../include/boost/vmd/array/to_seq.hpp
$(here)/../include/boost/vmd/array/to_tuple.hpp
$(here)/../include/boost/vmd/list/to_seq.hpp
$(here)/../include/boost/vmd/list/to_tuple.hpp
$(here)/../include/boost/vmd/seq/is_vmd_seq.hpp
$(here)/../include/boost/vmd/seq/pop_back.hpp
$(here)/../include/boost/vmd/seq/pop_front.hpp
$(here)/../include/boost/vmd/seq/push_back.hpp
$(here)/../include/boost/vmd/seq/push_front.hpp
$(here)/../include/boost/vmd/seq/remove.hpp
$(here)/../include/boost/vmd/seq/size.hpp
$(here)/../include/boost/vmd/seq/to_array.hpp
$(here)/../include/boost/vmd/seq/to_list.hpp
$(here)/../include/boost/vmd/seq/to_tuple.hpp
$(here)/../include/boost/vmd/tuple/is_vmd_tuple.hpp
$(here)/../include/boost/vmd/tuple/pop_back.hpp
$(here)/../include/boost/vmd/tuple/pop_front.hpp
$(here)/../include/boost/vmd/tuple/push_back.hpp
$(here)/../include/boost/vmd/tuple/push_front.hpp
$(here)/../include/boost/vmd/tuple/remove.hpp
$(here)/../include/boost/vmd/tuple/size.hpp
$(here)/../include/boost/vmd/tuple/to_array.hpp
$(here)/../include/boost/vmd/tuple/to_list.hpp
$(here)/../include/boost/vmd/tuple/to_seq.hpp
:
<doxygen:param>PROJECT_NAME="VMD"
<doxygen:param>PROJECT_NUMBER=1
<doxygen:param>SORT_MEMBER_DOCS=NO
Expand All @@ -115,7 +115,7 @@ boostbook standalone
<xsl:param>chunk.section.depth=8 # How far down we chunk nested sections, basically all of them.
<xsl:param>toc.section.depth=8 # How far down sections get TOCs.
<xsl:param>toc.max.depth=4 # Max depth in each TOC.

# PDF Options:
# TOC Generation: this is needed for FOP-0.9 and later:
<xsl:param>fop1.extensions=0
Expand Down
13 changes: 10 additions & 3 deletions test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
# VariadicMacroData testing Jamfile
#

import-search /boost/predef/tools/check ;

import testing ;
import ../../predef/check/predef
import predef
: check require
: predef-check predef-require ;

Expand All @@ -21,10 +23,15 @@ project variadic_macro_data_tests : requirements <warnings>on
<toolset>gcc-4.3.0:<cxxflags>-U__STRICT_ANSI__
<toolset>gcc-4.4.0:<cxxflags>-U__STRICT_ANSI__
<toolset>gcc-4.5.0:<linkflags>"-Wl,--enable-auto-import"
<include>.

<library>/boost/predef//boost_predef
<library>/boost/core//boost_core
<library>/boost/vmd//boost_vmd
;

alias variadic_macro_data
:
:
[ run test_after_array_elem.cpp ]
[ run test_after_identifier_elem.cpp ]
[ run test_after_list_elem.cpp ]
Expand Down
2 changes: 1 addition & 1 deletion test/test_after_array_elem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_after_array_elem.cxx>
#include "test_after_array_elem.cxx"
2 changes: 1 addition & 1 deletion test/test_after_identifier_elem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_after_identifier_elem.cxx>
#include "test_after_identifier_elem.cxx"
2 changes: 1 addition & 1 deletion test/test_after_list_elem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_after_list_elem.cxx>
#include "test_after_list_elem.cxx"
2 changes: 1 addition & 1 deletion test/test_after_number_elem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_after_number_elem.cxx>
#include "test_after_number_elem.cxx"
2 changes: 1 addition & 1 deletion test/test_after_seq_elem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_after_seq_elem.cxx>
#include "test_after_seq_elem.cxx"
2 changes: 1 addition & 1 deletion test/test_after_tuple_elem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_after_tuple_elem.cxx>
#include "test_after_tuple_elem.cxx"
2 changes: 1 addition & 1 deletion test/test_after_type_elem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_after_type_elem.cxx>
#include "test_after_type_elem.cxx"
2 changes: 1 addition & 1 deletion test/test_android.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_android.cxx>
#include "test_android.cxx"
2 changes: 1 addition & 1 deletion test/test_array_elem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_array_elem.cxx>
#include "test_array_elem.cxx"
2 changes: 1 addition & 1 deletion test/test_array_empty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_array_empty.cxx>
#include "test_array_empty.cxx"
2 changes: 1 addition & 1 deletion test/test_array_equal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_array_equal.cxx>
#include "test_array_equal.cxx"
2 changes: 1 addition & 1 deletion test/test_array_to_seq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_array_to_seq.cxx>
#include "test_array_to_seq.cxx"
2 changes: 1 addition & 1 deletion test/test_array_to_tuple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_array_to_tuple.cxx>
#include "test_array_to_tuple.cxx"
2 changes: 1 addition & 1 deletion test/test_ary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_ary.cxx>
#include "test_ary.cxx"
2 changes: 1 addition & 1 deletion test/test_assert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert.cxx>
#include "test_assert.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_fail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_fail.cxx>
#include "test_assert_fail.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_fail_array.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_fail_array.cxx>
#include "test_assert_fail_array.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_fail_identifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_fail_identifier.cxx>
#include "test_assert_fail_identifier.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_fail_is_empty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_fail_is_empty.cxx>
#include "test_assert_fail_is_empty.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_fail_is_identifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_fail_is_identifier.cxx>
#include "test_assert_fail_is_identifier.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_fail_is_number.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_fail_is_number.cxx>
#include "test_assert_fail_is_number.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_fail_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_fail_list.cxx>
#include "test_assert_fail_list.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_fail_number.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_fail_number.cxx>
#include "test_assert_fail_number.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_fail_number2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_fail_number2.cxx>
#include "test_assert_fail_number2.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_fail_seq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_fail_seq.cxx>
#include "test_assert_fail_seq.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_fail_tuple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_fail_tuple.cxx>
#include "test_assert_fail_tuple.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_fail_vcstring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_fail_vcstring.cxx>
#include "test_assert_fail_vcstring.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_is_array.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_is_array.cxx>
#include "test_assert_is_array.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_is_array_fail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_is_array_fail.cxx>
#include "test_assert_is_array_fail.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_is_array_fail2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_is_array_fail2.cxx>
#include "test_assert_is_array_fail2.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_is_array_fail3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_is_array_fail3.cxx>
#include "test_assert_is_array_fail3.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_is_array_fail4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_is_array_fail4.cxx>
#include "test_assert_is_array_fail4.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_is_empty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_is_empty.cxx>
#include "test_assert_is_empty.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_is_empty_fail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_is_empty_fail.cxx>
#include "test_assert_is_empty_fail.cxx"
2 changes: 1 addition & 1 deletion test/test_assert_is_empty_fail2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).

#include <libs/vmd/test/test_assert_is_empty_fail2.cxx>
#include "test_assert_is_empty_fail2.cxx"
Loading