]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/dll/test/Jamfile.v2
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / dll / test / Jamfile.v2
index a9b046a945c5e6d9ca7341f030dc24fe2c24dbe5..037ab4c51824db43917c5ad2e71b6d9830dea99b 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright Renato Tegon Forti, Antony Polukhin 2011 - 2018.
+# Copyright Renato Tegon Forti, Antony Polukhin 2011 - 2019.
 # 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)
@@ -18,8 +18,8 @@ local RDYNAMIC = <target-os>freebsd:<linkflags>"-rdynamic" <target-os>solaris:<l
 
 
 # Static library that is not linked with any of the boost libs
-lib static_plugin : ../example/tutorial4/static_plugin.cpp : <link>static <define>BOOST_SYSTEM_NO_DEPRECATED : : $(RDYNAMIC) ;
-lib static_refcounting_plugin : ../example/tutorial8/refcounting_plugin.cpp : <link>static <define>BOOST_SYSTEM_NO_DEPRECATED : : <variant>release $(RDYNAMIC) ;
+lib static_plugin : ../example/tutorial4/static_plugin.cpp : <link>static <define>BOOST_SYSTEM_NO_DEPRECATED $(RDYNAMIC) ;
+lib static_refcounting_plugin : ../example/tutorial8/refcounting_plugin.cpp : <link>static <define>BOOST_SYSTEM_NO_DEPRECATED <variant>release $(RDYNAMIC) ;
 
 
 project
@@ -27,10 +27,11 @@ project
    : requirements
 
    # linux
-      <target-os>linux:<linkflags>"-ldl" <target-os>linux:<cxxflags>"-fvisibility=hidden"
+      <target-os>linux:<linkflags>"-ldl"
       <toolset>gcc:<cxxflags>"-Wall -Wextra -pedantic -Wno-long-long"
 
    # others
+      <local-visibility>hidden
       <library>/boost/filesystem//boost_filesystem
       <library>/boost/system//boost_system
       <threading>multi
@@ -51,6 +52,7 @@ project
 
     test-suite boostdll
         :
+        [ run link1.cpp link2.cpp  : : : : validate_link ]
         [ run shared_library_load_test.cpp : : library1 test_library : <link>shared ]
         [ run shared_library_search_symbol_test.cpp : : test_library : $(RDYNAMIC) <link>shared ]
         [ run shared_library_get_symbol_test.cpp : : test_library : $(RDYNAMIC) <link>shared ]
@@ -85,9 +87,8 @@ project
         # test for shared libraries
         [ compile-fail section_name_too_big.cpp ]
         [ run shared_library_concurrent_load_test.cpp /boost/thread//boost_thread : : library1 library2 my_plugin_aggregator refcounting_plugin : <link>shared ]
-        [ run cpp_mangle_test.cpp : : cpp_plugin ] 
-        [ run cpp_load_test.cpp   : : cpp_plugin ]     
-        [ run cpp_import_test.cpp   : : cpp_plugin               ]     
-        [ run cpp_import_class_test.cpp   : : cpp_plugin  ]     
+        [ run cpp_mangle_test.cpp : : cpp_plugin ]
+        [ run cpp_load_test.cpp   : : cpp_plugin ]
+        [ run cpp_import_test.cpp   : : cpp_plugin ]
     ;
 }