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:
11
new/qt.jam
11
new/qt.jam
@@ -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.
|
||||
|
||||
11
v2/qt.jam
11
v2/qt.jam
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user