mirror of
https://github.com/boostorg/build.git
synced 2026-02-13 12:22:17 +00:00
* 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]
22 lines
446 B
Plaintext
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 ;
|