mirror of
https://github.com/boostorg/build.git
synced 2026-01-26 06:22:26 +00:00
For example, this would allow compilers to add generated headers into include path. * virtual-target.jam (action.adjust-properties): New rule. (clone-action-template): Don't slice cloned object. * generators.jam (generator.action-class): New rule, to allow overriding action class on per-generator basis. * builtin.jam (compile-action): New class. (C-compiling-generator): New class. * gcc.jam: Use C-compiling-generator for gcc. Honor includes. [SVN r15618]
20 lines
210 B
Plaintext
20 lines
210 B
Plaintext
|
|
|
|
import type ;
|
|
import generators ;
|
|
|
|
type.register FOO : foo ;
|
|
|
|
generators.register-standard foo.foo : FOO : CPP H ;
|
|
|
|
rule foo ( targets * : sources * : properties * )
|
|
{
|
|
}
|
|
|
|
actions foo
|
|
{
|
|
touch $(<)
|
|
}
|
|
|
|
|