Ticket #4111: mc.jam.patch
File mc.jam.patch, 858 bytes (added by , 13 years ago) |
---|
-
mc.jam
17 17 import type ; 18 18 import rc ; 19 19 20 feature.feature mc-compiler : mc windmc : propagated ; 21 feature.set-default mc-compiler : mc ; 22 20 23 rule init ( ) 21 24 { 22 25 } … … 36 39 flags mc.compile MCFLAGS <mc-set-customer-bit>no : ; 37 40 flags mc.compile MCFLAGS <mc-set-customer-bit>yes : -c ; 38 41 39 generators.register-standard mc.compile : MC : H RC ; 42 generators.register-standard mc.compile.mc : MC : H RC : <mc-compiler>mc ; 43 generators.register-standard mc.compile.windmc : MC : H RC : <mc-compiler>windmc ; 40 44 41 actions compile 45 actions compile.mc 42 46 { 43 47 mc $(MCFLAGS) -h "$(<[1]:DW)" -r "$(<[2]:DW)" "$(>:W)" 44 48 } 49 50 actions compile.windmc 51 { 52 windmc $(MCFLAGS) -h "$(<[1]:DW)" -r "$(<[2]:DW)" "$(>:W)" 53 }