Boost logo

Boost-Build :

Subject: [Boost-build] creating one static library from dependencies
From: Roman Matsybora (matsic_at_[hidden])
Date: 2013-08-13 12:38:51


('binary' encoding is not supported, stored as-is) ('binary' encoding is not supported, stored as-is) I'm looking a way in b2 to generate one static library from list of libraries
//begin code sample # here is a list of libraries alias boost_all : /boost//thread /boost//serialization /boost//iostreams /boost//chrono /boost//date_time /boost//exception /boost//atomic ;
# how to collect them into one big static library when using gcc toolset? # it will be one file "libboost_all.lib"
# then this file will install install destination : libboost_all.lib ;
//end code sample

// solution ways: install destination : boost_all : <install-dependencies>on <install-type>STATIC_LIB ; actions collect { echo "begin collect" # what to write here? # file list is dependent on target and features echo $(<) $(>) echo "end collect" }
may be using of gcc archiver can solve problem but I don't know libraries files that and how to invoke it from here
('binary' encoding is not supported, stored as-is)



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk