2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-20 14:42:14 +00:00

Introduce 'profile' variant.

[SVN r18509]
This commit is contained in:
Vladimir Prus
2003-05-23 11:36:27 +00:00
parent 5dc40cd49a
commit 1d0317cd2e
3 changed files with 24 additions and 11 deletions

View File

@@ -37,6 +37,7 @@ feature runtime-debugging : on off : propagated ;
feature optimization : off speed space : propagated ;
feature profiling : off on : propagated ;
feature inlining : off on full : propagated ;
feature threading : single multi : link-incompatible propagated ;
@@ -142,6 +143,7 @@ IMPORT $(__name__) : variant : : variant ;
variant debug : <optimization>off <debug-symbols>on <inlining>off <runtime-debugging>on ;
variant release : <optimization>speed <debug-symbols>off <inlining>full <runtime-debugging>off ;
variant profile : release : <profiling>on <debug-symbols>on ;
# When <optimization>speed is specified, we need to add <define>NDEBUG
# It is done via 'active' features, because it should be done for