Jamfile.v2 690 B

12345678910111213141516171819
  1. # copyright John Maddock 2003
  2. # Use, modification and distribution are subject to the
  3. # Boost Software License, Version 1.0. (See accompanying file
  4. # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. lib link_test : link_test.cpp
  6. : <link>shared <runtime-link>shared
  7. # This is needed to make the test work, I'm unsure if this
  8. # should be set globally.
  9. <define>BOOST_DYN_LINK=1
  10. # Override <threading>multi inherited from parent.
  11. <threading>single
  12. :
  13. debug release
  14. ;
  15. run main.cpp link_test : : : <define>BOOST_DYN_LINK=1 <define>BOOST_CONFIG_NO_LIB <link>shared <runtime-link>shared <threading>single : link_test_test ;