2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 12:22:17 +00:00
Files
build/test/project-test3/lib3/project-root.jam
Vladimir Prus f8a73bbd50 Allow project-root.jam to act as Jamfile.
* new/project-root.jam (project-root-context.project): New rule
  (find-project-rule): New rule, factored out of 'load' so that it can
  be used elsewhere.

* new/project.jam (find): When project is not yet known, try loading
  project-root, not only Jamfile.


[SVN r18759]
2003-06-10 11:07:56 +00:00

22 lines
446 B
Plaintext

# This project-root.jam also serves the role of Jamfile
project lib3 ;
use-project /lib2/helper : ../lib2/helper ;
import property ;
rule mfc-compile ( target : sources * : property-set * )
{
PROPERTIES on $(target) = [
property.as-path [ property.remove incidental : $(property-set) ] ] ;
}
actions mfc-compile
{
echo $(PROPERTIES) > $(<)
echo $(>) >> $(<)
}
make f.obj : f.cpp @/lib2/helper/e.obj : mfc-compile ;