Re: [Boost-users] Extracting BOOST header only libraries

3 Dec
2008
3 Dec
'08
3:17 a.m.
Hi,
I could do that but an accidental inclusion of a header file that tries to implicitly link to a boost library would fail. I will know the reason but my fellow developers will start analyzing the problem that I want to avoid. I chatted on #boost and decided to use the following batch file to get the header only part from BOOST (it can be a shell script too): I put the following lines in a batch file (M$) and pass the bjam build options like prefix or layout: @SET BOPT= @FOR /F "skip=1 tokens=2" %%a in ('bjam --show-libraries') do @SET BOPT=!BOPT! --without-%%a @ECHO bjam %* %BOPT% The output (with install appended) is the command to extract and install the header only part. -dhruva -- Contents reflect my personal views only!
5994
Age (days ago)
5994
Last active (days ago)
1 comments
2 participants
participants (2)
-
dhruva
-
Steven Watanabe