Lines 210-215
Link Here
|
210 |
} |
210 |
} |
211 |
|
211 |
|
|
|
212 |
rule filtered-target ( name : message + : sources + : requirements * ) |
213 |
{ |
214 |
message $(name)-message : warning: $(message) ; |
215 |
alias $(name) : $(sources) : $(requirements) ; |
216 |
alias $(name) : $(name)-message ; |
217 |
|
218 |
local p = [ project.current ] ; |
219 |
$(p).mark-target-as-explicit $(name) ; |
220 |
$(p).mark-target-as-explicit $(name)-message ; |
221 |
} |
222 |
|
212 |
rule declare_install_and_stage_proper_targets ( libraries * : headers * ) |
223 |
rule declare_install_and_stage_proper_targets ( libraries * : headers * ) |
213 |
{ |
224 |
{ |
|
|
225 |
for local l in $(libraries) |
226 |
{ |
227 |
if $(l) = locale |
228 |
{ |
229 |
filtered-target $(l)-for-install : |
230 |
Skipping Boost.Locale library with threading=single. : |
231 |
libs/$(l)/build : <threading>multi ; |
232 |
} |
233 |
else if $(l) = wave |
234 |
{ |
235 |
filtered-target $(l)-for-install : |
236 |
Skipping Boost.Wave library with threading=single. : |
237 |
libs/$(l)/build : <threading>multi ; |
238 |
} |
239 |
else if $(l) = thread |
240 |
{ |
241 |
filtered-target $(l)-for-install : |
242 |
Skipping Boost.Thread library with threading=single. : |
243 |
libs/$(l)/build : <threading>multi ; |
244 |
} |
245 |
else |
246 |
{ |
247 |
alias $(l)-for-install : libs/$(l)/build ; |
248 |
} |
249 |
} |
250 |
local library-targets = $(libraries)-for-install ; |
251 |
|
214 |
install-requirements = <install-source-root>$(BOOST_ROOT)/boost ; |
252 |
install-requirements = <install-source-root>$(BOOST_ROOT)/boost ; |
215 |
|
253 |
|
Lines 239-243
Link Here
|
239 |
: $(install-requirements) <install-no-version-symlinks>on |
277 |
: $(install-requirements) <install-no-version-symlinks>on |
240 |
: |
278 |
: |
241 |
: libs/$(libraries)/build |
279 |
: $(libraries)-for-install |
242 |
: $(headers) |
280 |
: $(headers) |
243 |
; |
281 |
; |
Lines 246-250
Link Here
|
246 |
# Install just library. |
284 |
# Install just library. |
247 |
install stage-proper |
285 |
install stage-proper |
248 |
: libs/$(libraries)/build |
286 |
: $(libraries)-for-install |
249 |
: <location>$(stage-locate)/lib |
287 |
: <location>$(stage-locate)/lib |
250 |
<install-dependencies>on <install-type>LIB |
288 |
<install-dependencies>on <install-type>LIB |