mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 00:32:11 +00:00
* boost_build_v2.html: Document new option. * new/generators.jam (find-viable-generators): Revert part of Dave's commit, essentially disabling finding base type generators. This part breaks a test, and need to be thinked about. * new/errors.jam: Handle "--no-error-backtrace" option. * test/project_test4.py: Adjust for new error syntax. [SVN r16233]
69 lines
968 B
Plaintext
69 lines
968 B
Plaintext
|
|
import type ;
|
|
import generators ;
|
|
|
|
type.register WHL : whl ;
|
|
type.register DLP : dlp ;
|
|
type.register WHL_LR0 : lr0 ;
|
|
type.register WD : wd ;
|
|
|
|
generators.register-standard extra.whale : WHL : CPP WHL_LR0 ;
|
|
generators.register-standard extra.dolphin : DLP : CPP ;
|
|
generators.register-standard extra.wd : WD : WHL(%_parser) DLP(%_lexer) ;
|
|
|
|
rule whale ( targets * : sources * : properties * )
|
|
{
|
|
}
|
|
|
|
actions whale
|
|
{
|
|
echo "Whale consuming " $(>)
|
|
touch $(<)
|
|
}
|
|
|
|
rule dolphin ( targets * : source * : properties * )
|
|
{
|
|
}
|
|
|
|
actions dolphin
|
|
{
|
|
echo "Dolphin consuming" $(>)
|
|
touch $(<)
|
|
}
|
|
|
|
rule wd ( targets * : source * : properties * )
|
|
{
|
|
}
|
|
|
|
actions wd
|
|
{
|
|
echo "WD consuming" $(>)
|
|
touch $(<)
|
|
}
|
|
|
|
rule x ( target * : source * : properties * )
|
|
{
|
|
}
|
|
|
|
|
|
actions x
|
|
{
|
|
echo "X: source is " $(>)
|
|
touch $(<)
|
|
}
|
|
|
|
rule x_pro ( target * : source * : properties * )
|
|
{
|
|
}
|
|
|
|
|
|
actions x_pro
|
|
{
|
|
echo "X_PRO: source is " $(>)
|
|
touch $(<)
|
|
}
|
|
|
|
|
|
|
|
|