There's a -make option to do what you want.

On Thu, Aug 6, 2009 at 7:02 PM, Andrew Chalmers <[email protected]>wrote:

> I followed the instructions here (
> http://www.antlr.org/wiki/display/ANTLR3/Integration+with+Development+Environments
> ).
>
> My grammar.g has two child (dependent) items, blahLexer.cs and
> blahParser.cs. When I build my solution, Antlr is called, and correctly
> rebuilds the lexer and parser, which is great.
>
> My problem is that Antlr is called _every_ time I run a build, even when
> the two dependent items (lexer and parser.cs) are up-to-date wrt the grammar
> definition.
>
> Anyone know how to instruct msbuild (or even Antlr; I'm not picky!) to skip
> the rebuild of lexer and parser when they're already up-to-date?
>
> ------------------------------
> Click Here View photos of singles in your 
> area<http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fdating%2Eninemsn%2Ecom%2Eau%2Fsearch%2Fsearch%2Easpx%3Fexec%3Dgo%26tp%3Dq%26gc%3D2%26tr%3D1%26lage%3D18%26uage%3D55%26cl%3D14%26sl%3D0%26dist%3D50%26po%3D1%26do%3D2%26trackingid%3D1046138%26r2s%3D1&_t=773166090&_r=Hotmail_Endtext&_m=EXT>
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
>


-- 
/Andrew

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to