<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">I'm using a third party code generation tool that produces source files with a non-standard extension, and there is no option to change it. For simplicity I'll use the example of a .foo file generates a .bar file (a cpp source file).</div> <div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I can add a custom cpp extension with:</div><div style="font-family:arial,sans-serif;font-size:13px"> <br></div><div style="font-family:arial,sans-serif;font-size:13px">type.register BAR : bar : CPP ;<br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"> Which builds things like source.bar in exe rules just like I expect.<br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">And I can add a custom rule for the code generation with:</div> <div style="font-family:arial,sans-serif;font-size:13px"><div><br></div><div>type.register FOO : foo ;</div><div>generators.register-standard test.baz : FOO : CPP ;</div></div><div style="font-family:arial,sans-serif;font-size:13px"> <br></div><div style="font-family:arial,sans-serif;font-size:13px">Which builds things like input.foo in exe rules like I expect (just with the wrong extension).</div><div style="font-family:arial,sans-serif;font-size:13px"> <br></div><div style="font-family:arial,sans-serif;font-size:13px">But when I try to combine them into:</div><div style="font-family:arial,sans-serif;font-size:13px"><div><br></div><div>type.register FOO : foo ;</div><div> type.register BAR : bar : CPP ;</div><div>generators.register-standard test.baz : FOO : BAR ;</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"> Now input.foo in an exe rule doesn't do anything at all. No errors, it just never triggers any actions. Any suggestions?</div></div>