RE: [Boost-Users] boost install and library linking
I posted a solution to this for the v1 jambuild on the jambuild list, but not sure if anything will come of it since most of the effort is going into v2. My solution (for threads only) was to add a simple stage target at the end of the root Jamfile. Here it is: stage bin : ## Source Files ## <dll>libs/thread/build/boost_thread : ## Tags ## <tag><debug>"d" : ## default variants ## debug release ; This puts all the libs and such in $(BOOST)/bin s.t. all debug variants have are of the form <libraryname>d.<extension>. This is not completely robust (since the possible variants are huge), but it should help basic users out who need one of the generated libs. Makes linking and DLL/SO access much simpler. Under v2 it will be a different ball of wax, but much better/more maintainable (IMHO). HTH, michael At 07:13 AM 3/17/2003 -0700, you wrote:
Most of the Boost libraries (such as Boost.Random) are header libraries, which means that you add ${BOOST} to the include path of your compiler and you're done with the "installation". There are a few Boost libraries (Python, Regex, Signals, Test, and Thread) that produce actual .lib library files. If you are not using those libraries, you do not need to build the .lib files.
Other libraries that produce .libs are the date_time library and in the upcoming 1.30 release the filesystem library. There are a group of boosters working on the install process, but in the meantime I see no reason why you can't do something simple like create a /bin directory and copy/move/link the libraries to this location so you don't have to traverse deep into the directory tree to find them.
Jeff
Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Michael Hunley said:
I posted a solution to this for the v1 jambuild on the jambuild list, but not sure if anything will come of it since most of the effort is going into v2. My solution (for threads only) was to add a simple stage target at the end of the root Jamfile. Here it is:
stage bin : ## Source Files ## <dll>libs/thread/build/boost_thread : ## Tags ## <tag><debug>"d" : ## default variants ## debug release ;
Such a target already exists in the thread library's Jamfile (not the root). -- William E. Kempf
Most of the Boost libraries (such as Boost.Random) are header
which means that you add ${BOOST} to the include path of your compiler and you're done with the "installation". There are a few Boost libraries (Python, Regex, Signals, Test, and Thread) that produce actual .lib
libraries, library
files. If you are not using those libraries, you do not need to build the .lib files.
Other libraries that produce .libs are the date_time library and in the upcoming 1.30 release the filesystem library. There are a group of boosters working on the install process, but in the meantime I see no reason why you can't do something simple like create a /bin directory and copy/move/link the libraries to this location so you don't have to traverse deep into the directory tree to find them. joseph --------------------------------- Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! [Non-text portions of this message have been removed]
participants (3)
-
joseph antoneose
-
Michael Hunley
-
William E. Kempf