# 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 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 ; compile-fail enum_nested_fail.cpp ; compile-fail nested_enum_fail.cpp ; run class_template_test.cpp ; run has_enumerators_test.cpp ; run has_bases_test.cpp ; run has_members_test.cpp ; run enum_to_string_test.cpp ; run enum_from_string_test.cpp ; run operator_eq_test.cpp ; run operator_lt_test.cpp ; run descriptor_by_name_test.cpp ; run descriptor_by_pointer_test.cpp ; compile unnamed_namespace_test.cpp ; compile unnamed_namespace_test2.cpp ; run union_test.cpp ; run union_test2.cpp ; run pedantic_enumerators_test.cpp : : : pedantic ; run pedantic_bases_test.cpp : : : pedantic ; run pedantic_members_test.cpp : : : pedantic ; # examples obj describe_cxx14 : describe_cxx14.cpp ; explicit describe_cxx14 ; local CXX14 = [ check-target-builds describe_cxx14 describe_cxx14 : : no ] "msvc-14.0:-wd4100" ; local JSON = /boost//json/off "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) ; run ../example/struct_to_tuple.cpp : : : $(CXX14) ; run ../example/pm_to_string.cpp : : : $(CXX14) ;