2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Change to allow using "stlp" as a shorthand for "stlport" in toolset names.

Change to allow using "iw" as shorthand for "intel-win32" in toolset names.


[SVN r25527]
This commit is contained in:
Rene Rivera
2004-10-02 19:00:25 +00:00
parent 4211bf4d75
commit 82120cb6cf

View File

@@ -2579,8 +2579,8 @@ rule common-variant-tag ( toolset variant : properties * )
if <runtime-build>debug in $(properties) { runtime-tag += g ; }
if [ MATCH .*(debug-python).* : $(variant) ] { runtime-tag += y ; }
else { if [ MATCH .*(debug).* : $(variant) ] { runtime-tag += d ; } }
if [ MATCH .*(stlport).* : $(toolset) ] ||
[ MATCH .*(stlport).* : $(properties:G) ]
if [ MATCH .*(stlp).* : $(toolset) ] ||
[ MATCH .*(stlp).* : $(properties:G) ]
{ runtime-tag += p ; }
if <stlport-iostream>off in $(properties) { runtime-tag += n ; }
@@ -2841,8 +2841,8 @@ rule toolset::requirements ( toolset variant : subvariant-path properties * )
{
# dynamic runtime only comes in the multi-threading flavor
if <runtime-link>dynamic in $(properties) { requirements += <threading>multi ; }
if [ MATCH .*(stlport).* : $(toolset) ] ||
[ MATCH .*(stlport).* : $(properties:G) ]
if [ MATCH .*(stlp).* : $(toolset) ] ||
[ MATCH .*(stlp).* : $(properties:G) ]
{
# STLPort doesn't have any single-threaded builds, so we're going
# to force all such targets to be built with multithread support.
@@ -2854,8 +2854,8 @@ rule toolset::requirements ( toolset variant : subvariant-path properties * )
{
# dynamic runtime only comes in the multi-threading flavor
if <runtime-link>dynamic in $(properties) { requirements += <threading>multi ; }
if [ MATCH .*(stlport).* : $(toolset) ] ||
[ MATCH .*(stlport).* : $(properties:G) ]
if [ MATCH .*(stlp).* : $(toolset) ] ||
[ MATCH .*(stlp).* : $(properties:G) ]
{
# STLPort doesn't have any single-threaded builds, so we're going
# to force all such targets to be built with multithread support.
@@ -2877,6 +2877,11 @@ rule toolset::requirements ( toolset variant : subvariant-path properties * )
# dynamic runtime only comes in the multi-threading flavor
if <runtime-link>dynamic in $(properties) { requirements += <threading>multi ; }
}
case iw* :
{
# dynamic runtime only comes in the multi-threading flavor
if <runtime-link>dynamic in $(properties) { requirements += <threading>multi ; }
}
}
requirements = [ unique $(requirements) ] ;
local free-feature-requirements = [ segregate-free-properties properties ] ;