Jamfile.v2 1.77 KB
#
# Copyright 2011 Artyom Beilis
# Copyright 2022 Alexander Grund
#
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt

import config : requires ;

project : requirements
    <library>/boost/locale//boost_locale
    <warnings>extra
    <toolset>msvc:<warnings-as-errors>on
    <toolset>gcc-8:<warnings-as-errors>on
    <toolset>gcc-9:<warnings-as-errors>on
    <toolset>gcc-10:<warnings-as-errors>on
    <toolset>gcc-11:<warnings-as-errors>on
    <toolset>clang-5:<warnings-as-errors>on
    <toolset>clang-9:<warnings-as-errors>on
    <toolset>clang-10:<warnings-as-errors>on
    <toolset>clang-11:<warnings-as-errors>on
    <toolset>clang-12:<warnings-as-errors>on
    <toolset>clang-13:<warnings-as-errors>on
    <include>.
    # Make sure we get all defines we need
    # Otherwise we would have problem knowing
    # what backends are actually in use
    <use>../build//build_flags
    [ requires
      cxx11_char16_t
      cxx11_char32_t
    ]
  ;

# Configuration Information
run show_config.cpp : : : <test-info>always_show_run_output ;
# Shared
run test_utf.cpp ;
run test_date_time.cpp ;
run test_ios_info.cpp ;
run test_ios_prop.cpp ;
run test_codecvt.cpp ;
run test_codepage_converter.cpp ;
run test_codepage.cpp ;
run test_message.cpp : $(BOOST_ROOT)/libs/locale/test ;
run test_generator.cpp ;
# icu
run test_collate.cpp ;
run test_convert.cpp ;
run test_boundary.cpp ;
run test_formatting.cpp : $(BOOST_ROOT)/libs/locale/test ;
run test_icu_vs_os_timezone.cpp ;
# winapi
run test_winapi_collate.cpp ;
run test_winapi_convert.cpp ;
run test_winapi_formatting.cpp ;
# posix
run test_posix_collate.cpp ;
run test_posix_convert.cpp ;
run test_posix_formatting.cpp ;
# std
run test_std_collate.cpp ;
run test_std_convert.cpp ;
run test_std_formatting.cpp ;