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

Respect <threading> in QT support.

[SVN r17074]
This commit is contained in:
Vladimir Prus
2003-01-29 06:37:26 +00:00
parent 43aea6eb77
commit 8d15ef3b68
2 changed files with 20 additions and 2 deletions

View File

@@ -69,7 +69,16 @@ rule init ( prefix ? )
rule qt.add-properties ( property : properties * )
{
return <include>$(.prefix)/include <dll-path>$(.prefix)/lib <library-path>$(.prefix)/lib <find-shared-library>qt-mt ;
local lib-name ;
if <threading>multi in $(properties)
{
lib-name = qt-mt ;
}
else
{
lib-name = qt ;
}
return <include>$(.prefix)/include <dll-path>$(.prefix)/lib <library-path>$(.prefix)/lib <find-shared-library>$(lib-name) ;
}
# -f forces moc to include the processed source file.

View File

@@ -69,7 +69,16 @@ rule init ( prefix ? )
rule qt.add-properties ( property : properties * )
{
return <include>$(.prefix)/include <dll-path>$(.prefix)/lib <library-path>$(.prefix)/lib <find-shared-library>qt-mt ;
local lib-name ;
if <threading>multi in $(properties)
{
lib-name = qt-mt ;
}
else
{
lib-name = qt ;
}
return <include>$(.prefix)/include <dll-path>$(.prefix)/lib <library-path>$(.prefix)/lib <find-shared-library>$(lib-name) ;
}
# -f forces moc to include the processed source file.