mirror of
https://github.com/boostorg/multi_index.git
synced 2025-05-09 23:14:04 +00:00
* Make the library modular usable. * Put back removing qualified boostcpp tag. As we need it until the Jamroot removes the qualified tag. * Switch to library requirements instead of source. As source puts extra source in install targets. * Remove uses of BOOST_ROOT in Jamfiles. * Add requires-b2 check to top-level build file. * Bump B2 require to 5.2 * Update copyright dates. * Move inter-lib dependencies to a project variable and into the build targets. * Update build deps.
80 lines
3.7 KiB
Plaintext
80 lines
3.7 KiB
Plaintext
# Boost.MultiIndex tests Jamfile
|
||
#
|
||
# Copyright 2003-2020 Joaqu<71>n M L<>pez Mu<4D>oz.
|
||
# 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)
|
||
#
|
||
# See http://www.boost.org/libs/multi_index for library home page.
|
||
|
||
import os ;
|
||
import type ;
|
||
|
||
# Windows Vista UAC has an heuristic by which executable files whose name
|
||
# contains any of the words "install", "setup", "update", etc. are assumed
|
||
# to be installation packages needing administrative rights, which causes
|
||
# the system to bring up a window asking for execution confirmation by the
|
||
# user, thus interferring in the unattended bjam process.
|
||
# Problem bypassed by changing the EXE names containing a taboo word.
|
||
# Thanks to Rene Rivera for guidance on the use of the <tag> feature.
|
||
|
||
rule change-test_update-exe-name ( name : type ? : property-set )
|
||
{
|
||
if [ os.on-windows ] && [ type.is-subtype $(type) EXE ]
|
||
{
|
||
return test_updat.exe ;
|
||
}
|
||
}
|
||
|
||
project
|
||
: requirements
|
||
<library>/boost/multi_index//boost_multi_index
|
||
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
|
||
<toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
|
||
<toolset>msvc:<define>_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS
|
||
<toolset>msvc:<cxxflags>/wd4494
|
||
;
|
||
|
||
obj boost_multi_index_key_supported : check_bmi_key_supported.cpp ;
|
||
explicit boost_multi_index_key_supported ;
|
||
|
||
test-suite "multi_index" :
|
||
[ run test_alloc_awareness.cpp test_alloc_awareness_main.cpp ]
|
||
[ run test_basic.cpp test_basic_main.cpp ]
|
||
[ run test_capacity.cpp test_capacity_main.cpp ]
|
||
[ run test_comparison.cpp test_comparison_main.cpp ]
|
||
[ run test_composite_key.cpp test_composite_key_main.cpp ]
|
||
[ run test_conv_iterators.cpp test_conv_iterators_main.cpp ]
|
||
[ run test_copy_assignment.cpp test_copy_assignment_main.cpp ]
|
||
[ run test_hash_ops.cpp test_hash_ops_main.cpp ]
|
||
[ run test_iterators.cpp test_iterators_main.cpp
|
||
/boost/foreach//boost_foreach ]
|
||
[ run test_key.cpp test_key_main.cpp
|
||
: : :
|
||
[ check-target-builds boost_multi_index_key_supported
|
||
"BOOST_MULTI_INDEX_KEY_SUPPORTED defined"
|
||
: : <build>no ] ]
|
||
[ run test_key_extractors.cpp test_key_extractors_main.cpp ]
|
||
[ run test_list_ops.cpp test_list_ops_main.cpp ]
|
||
[ run test_modifiers.cpp test_modifiers_main.cpp ]
|
||
[ run test_mpl_ops.cpp test_mpl_ops_main.cpp ]
|
||
[ run test_node_handling.cpp test_node_handling_main.cpp ]
|
||
[ run test_observers.cpp test_observers_main.cpp ]
|
||
[ run test_projection.cpp test_projection_main.cpp ]
|
||
[ run test_range.cpp test_range_main.cpp ]
|
||
[ run test_rank_ops.cpp test_rank_ops_main.cpp ]
|
||
[ run test_rearrange.cpp test_rearrange_main.cpp ]
|
||
[ run test_safe_mode.cpp test_safe_mode_main.cpp ]
|
||
[ run test_serialization.cpp test_serialization1.cpp
|
||
test_serialization2.cpp test_serialization3.cpp
|
||
test_serialization_main.cpp
|
||
/boost/serialization//boost_serialization ]
|
||
[ run test_set_ops.cpp test_set_ops_main.cpp ]
|
||
[ run test_special_set_ops.cpp test_special_set_ops_main.cpp ]
|
||
[ run test_update.cpp test_update_main.cpp
|
||
: : :
|
||
-<tag>@%boostcpp.tag
|
||
-<tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag
|
||
<tag>@change-test_update-exe-name ]
|
||
;
|