mirror of
https://github.com/boostorg/build.git
synced 2026-02-17 01:32:12 +00:00
Revive the project_test3 test.
[SVN r31035]
This commit is contained in:
@@ -6,10 +6,23 @@ use-project /lib2/helper : ../lib2/helper ;
|
||||
|
||||
import property ;
|
||||
|
||||
rule properties-as-path ( properties * )
|
||||
{
|
||||
local r ;
|
||||
for local p in $(properties)
|
||||
{
|
||||
if $(p:G) != <action>
|
||||
{
|
||||
r += $(p) ;
|
||||
}
|
||||
}
|
||||
return [ property.as-path
|
||||
[ property.remove incidental : $(r) ] ] ;
|
||||
}
|
||||
|
||||
rule mfc-compile ( target : sources * : property-set * )
|
||||
{
|
||||
PROPERTIES on $(target) = [
|
||||
property.as-path [ property.remove incidental : $(property-set) ] ] ;
|
||||
PROPERTIES on $(target) = [ properties-as-path $(property-set) ] ;
|
||||
}
|
||||
|
||||
actions mfc-compile
|
||||
|
||||
@@ -2,10 +2,23 @@
|
||||
import gcc ;
|
||||
import property ;
|
||||
|
||||
rule properties-as-path ( properties * )
|
||||
{
|
||||
local r ;
|
||||
for local p in $(properties)
|
||||
{
|
||||
if $(p:G) != <action>
|
||||
{
|
||||
r += $(p) ;
|
||||
}
|
||||
}
|
||||
return [ property.as-path
|
||||
[ property.remove incidental : $(r) ] ] ;
|
||||
}
|
||||
|
||||
rule yfc-compile ( target : sources * : property-set * )
|
||||
{
|
||||
PROPERTIES on $(target) = [
|
||||
property.as-path [ property.remove incidental : $(property-set) ] ] ;
|
||||
PROPERTIES on $(target) = [ properties-as-path $(property-set) ] ;
|
||||
}
|
||||
|
||||
actions yfc-compile
|
||||
@@ -16,8 +29,7 @@ actions yfc-compile
|
||||
|
||||
rule yfc-link ( target : sources * : property-set * )
|
||||
{
|
||||
PROPERTIES on $(target) = [
|
||||
property.as-path [ property.remove incidental : $(property-set) ] ] ;
|
||||
PROPERTIES on $(target) = [ properties-as-path $(property-set) ] ;
|
||||
}
|
||||
|
||||
actions yfc-link
|
||||
|
||||
Reference in New Issue
Block a user