2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-02 08:42:13 +00:00
Files
build/test/project-test3/project-root.jam
Vladimir Prus fcd415ef69 Robustify project-test3 and project-test4, so that don't fail
if just some incidental property is added.


[SVN r18119]
2003-03-28 08:39:21 +00:00

31 lines
599 B
Plaintext

import gcc ;
import property ;
rule yfc-compile ( target : sources * : property-set * )
{
PROPERTIES on $(target) = [
property.as-path [ property.remove incidental : $(property-set) ] ] ;
}
actions yfc-compile
{
echo $(PROPERTIES) > $(<)
echo $(>) >> $(<)
}
rule yfc-link ( target : sources * : property-set * )
{
PROPERTIES on $(target) = [
property.as-path [ property.remove incidental : $(property-set) ] ] ;
}
actions yfc-link
{
echo $(PROPERTIES) > $(<)
echo $(>) >> $(<)
}
IMPORT $(__name__) : yfc-compile yfc-link : : yfc-compile yfc-link ;