#
-# 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)
# 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
: 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
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 ]
# 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 ]
;
}