# # Copyright John Maddock 2008. # Use, modification and distribution are subject to 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) # # If you need to alter build preferences then set them in # the template defined in options_v2.jam. # project : requirements gcc:-Wno-deprecated-declarations ; import modules ; import ../checks/config : requires ; local is_unix = [ modules.peek : UNIX ] ; lib atomic ; lib pthread ; lib rt ; exe has_atomic_lib : config_info.cpp atomic ; explicit has_atomic_lib ; exe has_pthread_lib : config_info.cpp pthread ; explicit has_pthread_lib ; exe has_rt_lib : config_info.cpp rt ; explicit has_rt_lib ; test-suite config : [ compile config_test_c.c ] [ run config_test.cpp : #args : #input-files : #requirements multi [ check-target-builds has_atomic_lib : atomic ] [ check-target-builds has_pthread_lib : pthread ] [ check-target-builds has_rt_lib : rt ] : config_test_threaded ] [ run config_test.cpp : #args : #input-files : #requirements single msvc:static msvc:static [ check-target-builds has_atomic_lib : atomic ] [ check-target-builds has_pthread_lib : pthread ] [ check-target-builds has_rt_lib : rt ] ] [ run config_test.cpp : #args : #input-files : #requirements off [ check-target-builds has_atomic_lib : atomic ] [ check-target-builds has_pthread_lib : pthread ] [ check-target-builds has_rt_lib : rt ] : config_test_no_rtti ] [ run config_test.cpp : #args : #input-files : #requirements off [ check-target-builds has_atomic_lib : atomic ] [ check-target-builds has_pthread_lib : pthread ] [ check-target-builds has_rt_lib : rt ] : config_test_no_except ] [ run config_info.cpp : : : always_show_run_output single msvc:static msvc:static ] [ run config_info.cpp : : : always_show_run_output multi : config_info_threaded ] [ run config_info.cpp : : : always_show_run_output off : config_info_no_rtti ] [ run config_info.cpp : : : always_show_run_output off : config_info_no_except ] [ run math_info.cpp : : : always_show_run_output borland:static borland:static ] [ run abi/abi_test.cpp abi/main.cpp ] [ run limits_test.cpp ../../test/build//boost_test_exec_monitor ] [ run link/main.cpp link//link_test : #args : #input-files : #requirements shared BOOST_DYN_LINK=1 BOOST_CONFIG_NO_LIB=1 : config_link_test ] [ compile-fail threads/test_thread_fail1.cpp ] [ compile-fail threads/test_thread_fail2.cpp ] [ compile boost_fallthrough_test.cpp : [ check-target-builds has_clang_implicit_fallthrough "Clang implicit fallthrough" : clang:"-std=c++11 -Wimplicit-fallthrough" on all ] ] [ compile helper_macro_test.cpp ] [ run cstdint_test.cpp : : : all gcc:"-Wno-long-long -Wextra" darwin:-Wno-long-long ] [ run cstdint_test2.cpp : : : all gcc:"-Wno-long-long -Wextra" darwin:-Wno-long-long ] [ compile cstdint_include_test.cpp : all gcc:-Wextra ] [ run config_build_check.cpp : : : [ requires int128 cxx11_constexpr cxx11_user_defined_literals ] ] ; obj has_clang_implicit_fallthrough : cmd_line_check.cpp : clang:"-std=c++11 -Wimplicit-fallthrough" on all ; explicit has_clang_implicit_fallthrough ;