mirror of
https://github.com/boostorg/build.git
synced 2026-02-17 01:32:12 +00:00
More changes to accomodate more strict import semantics and changes
to feature.action. [SVN r18416]
This commit is contained in:
@@ -512,6 +512,8 @@ rule link-action ( targets + : sources * : action-name : properties * )
|
||||
{
|
||||
action.__init__ $(targets) : $(sources) : $(action-name) : $(properties) ;
|
||||
import path ;
|
||||
import sequence ;
|
||||
|
||||
|
||||
# Find all libraries in sources, and <library> properties
|
||||
# For each source/property-value, which is instance of searched-lib-target,
|
||||
|
||||
@@ -8,6 +8,7 @@ import feature ;
|
||||
import errors ;
|
||||
import type ;
|
||||
import class : class new ;
|
||||
import generators ;
|
||||
|
||||
# Initialized the QT support module. The 'prefix' parameter
|
||||
# tells where QT is installed. When not given, environmental
|
||||
@@ -38,7 +39,7 @@ rule init ( prefix ? )
|
||||
.prefix = $(prefix) ;
|
||||
|
||||
feature.extend uses : qt ;
|
||||
feature.action <uses>qt : qt.add-properties ;
|
||||
feature.action <uses>qt : add-properties ;
|
||||
|
||||
generators.register-standard qt.moc : H : CPP(moc_%) : <uses>qt ;
|
||||
|
||||
@@ -77,7 +78,7 @@ rule init ( prefix ? )
|
||||
}
|
||||
}
|
||||
|
||||
rule qt.add-properties ( property : properties * )
|
||||
rule add-properties ( property : properties * )
|
||||
{
|
||||
local lib-name ;
|
||||
if <threading>multi in $(properties)
|
||||
|
||||
@@ -8,6 +8,7 @@ import feature ;
|
||||
import errors ;
|
||||
import type ;
|
||||
import class : class new ;
|
||||
import generators ;
|
||||
|
||||
# Initialized the QT support module. The 'prefix' parameter
|
||||
# tells where QT is installed. When not given, environmental
|
||||
@@ -38,7 +39,7 @@ rule init ( prefix ? )
|
||||
.prefix = $(prefix) ;
|
||||
|
||||
feature.extend uses : qt ;
|
||||
feature.action <uses>qt : qt.add-properties ;
|
||||
feature.action <uses>qt : add-properties ;
|
||||
|
||||
generators.register-standard qt.moc : H : CPP(moc_%) : <uses>qt ;
|
||||
|
||||
@@ -77,7 +78,7 @@ rule init ( prefix ? )
|
||||
}
|
||||
}
|
||||
|
||||
rule qt.add-properties ( property : properties * )
|
||||
rule add-properties ( property : properties * )
|
||||
{
|
||||
local lib-name ;
|
||||
if <threading>multi in $(properties)
|
||||
|
||||
@@ -512,6 +512,8 @@ rule link-action ( targets + : sources * : action-name : properties * )
|
||||
{
|
||||
action.__init__ $(targets) : $(sources) : $(action-name) : $(properties) ;
|
||||
import path ;
|
||||
import sequence ;
|
||||
|
||||
|
||||
# Find all libraries in sources, and <library> properties
|
||||
# For each source/property-value, which is instance of searched-lib-target,
|
||||
|
||||
Reference in New Issue
Block a user