How to configure Visual Studio 2010 to create ANTLR grammars for C ++ projects?

The .rules files that come with the distribution are not recognized by VS2010, and I really would like to avoid having to write an entire MSBuild task and all this for what should be a simple tool.

I am currently using a pre-build event and manually creating a command line ... but this sucks when more than one grammar is concerned.

EDIT: Since the only answer is my own, and I don't want to be a whore, I did this CW.

+3
source share
1 answer
+2

Source: https://habr.com/ru/post/1754074/


All Articles