2
0
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:
Vladimir Prus
2005-09-19 08:49:50 +00:00
parent 665d0b55dd
commit 2b56b3434f
2 changed files with 31 additions and 6 deletions

View File

@@ -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

View File

@@ -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