From 292b94a21940cd4e325490466f31d0ae87cd096b Mon Sep 17 00:00:00 2001
From: John Maddock
subproject libs/whatever/build ;
Then add the static library build target (if supported):
-lib boost_whatever - : - # list all the sources for this library: - ../src/whatever.cpp - : - # all build requirements go here. - # the common names rule ensures that the library will +lib + boost_whatever + : # list all the sources for this + library: + ../src/whatever.cpp + : # all build requirements go + here. # the "common-variant-tag" rule ensures that the library will # be named according to the rules used by the install # and auto-link features: common-variant-tag @@ -348,13 +348,13 @@ libboost_regex-vc71-sgd-1_31.lib are unlikely to function correctly (the dll will have a separate runtime from the executable using it, this generally causing problems with new and delete, as well as exception handling runtimes). -dll boost_whatever - : - # list all the sources for this library: - ../src/whatever.cpp - : - # all build requirements go here. - # the common names rule ensures that the library will +dll + boost_whatever + : # list all the sources for this + library: + ../src/whatever.cpp + : # all build requirements go + here. # the "common-variant-tag" rule ensures that the library will # be named according to the rules used by the install # and auto-link features: common-variant-tag @@ -371,7 +371,7 @@ libboost_regex-vc71-sgd-1_31.libNow add an install target so that Boost.Install can find this library to install:
-install whatever lib +install whatever lib : <dll>boost_whatever <lib>boost_whatever ;