mirror of
https://github.com/boostorg/build.git
synced 2026-01-26 06:22:26 +00:00
Bison and lex support.
unit-test rule
--version option
default build really works
* new/build-system.jam: Bugfixes. Added "--version" option.
* new/project.jam: If default-build is not specifies, don't stick "debug".
* new/property.jam (evaluate-conditionals): New rule.
* new/targets.jam (basic-target.generate): Evalute conditional properties.
* test/BoostBuild.py (Tester.maybe_do_diff): New method.
(Tester.run_build_system): Call the above method when
appropriate.
[SVN r15771]
20 lines
379 B
Plaintext
20 lines
379 B
Plaintext
|
|
import generators ;
|
|
|
|
feature.feature bison.prefix : : free ;
|
|
type.register Y : y ;
|
|
generators.register-standard bison.bison : Y : C H ;
|
|
|
|
rule bison ( dst dst_header : src : properties * )
|
|
{
|
|
local r = [ property.select bison.prefix : $(properties) ] ;
|
|
if $(r)
|
|
{
|
|
PREFIX_OPT on $(<) = -p $(r:G=) ;
|
|
}
|
|
}
|
|
|
|
actions bison
|
|
{
|
|
bison $(PREFIX_OPT) -d -o $(<[1]) $(>)
|
|
} |