# Copyright 2020 Peter Dimov # Distributed under the Boost Software License, Version 1.0. # https://www.boost.org/LICENSE_1_0.txt import testing ; project : requirements extra msvc:on clang:on gcc:on msvc-14.0:"-wd4100" clang:"-Wno-unused-private-field" ; run quick.cpp ; run pp_for_each_test.cpp ; run pp_is_paren_test.cpp ; run pp_is_empty_test.cpp ; run pp_call_test.cpp ; run pp_parse_test.cpp ; run pp_name_test.cpp ; run pp_pointer_test.cpp ; run enumerators_test.cpp ; run empty_enum_test.cpp ; run trailing_comma_test.cpp ; run nested_enum_test.cpp ; run compute_base_modifiers.cpp ; run bases_test.cpp ; run members_test.cpp ; run members_test2.cpp ; run members_test3.cpp ; run members_test4.cpp ; run members_test5.cpp ; run members_test6.cpp ; run members_test7.cpp : : : msvc-14.0:no ; run members_test8.cpp ; run overloaded_test.cpp ; run overloaded_test2.cpp ; compile test_d_type.cpp ; compile-fail enum_struct_fail.cpp ; compile-fail struct_enum_fail.cpp ; run class_template_test.cpp ; obj describe_cxx14 : describe_cxx14.cpp ; explicit describe_cxx14 ; local CXX14 = [ check-target-builds describe_cxx14 describe_cxx14 : : no ] ; local JSON = /boost//json/off "msvc-14.0:no" "msvc-14.2:-wd5104" ; local SERIALIZATION = /boost//serialization/off "-clang:on" ; run ../example/printing_enums_ct.cpp : : : $(CXX14) ; run ../example/printing_enums_rt.cpp : : : $(CXX14) ; run ../example/enum_to_string.cpp : : : $(CXX14) ; run ../example/string_to_enum.cpp : : : $(CXX14) ; run ../example/print_function.cpp : : : $(CXX14) ; run ../example/to_json.cpp : : : $(CXX14) $(JSON) ; run ../example/from_json.cpp : : : $(CXX14) $(JSON) ; run ../example/serialization.cpp : : : $(CXX14) $(SERIALIZATION) ; run ../example/json_rpc.cpp : : : $(CXX14) $(JSON) ; run ../example/hash_value.cpp : : : $(CXX14) ; run ../example/equality.cpp : : : $(CXX14) ; link ../example/console.cpp : $(CXX14) $(JSON) ;