As some may have noticed from my earlier posts I'm making a self-contained language that generates to cxx using GText.
I'm getting to the point where I'd like to set up the build system for it so I can see if all the code I'm generating actually compiles w/o manually copying things around or whatever.
I did a bit of looking around and see the buildLanguage and read the user guide section on it, and I think it will work for me though I'm not entirely sure how.
The user guide talks about how to make a stand-alone buildLanguage thing that echoes "Hello World", but I'm not sure how I should set it up to build a solution that uses my new language. Do I make a generator somewhere that goes from a model in my language and generates a buildLanguage project and somehow make it go? I'm just not really sure where to start here. If I get pointed in the right general direction I can probably figure out the details.
Also: I think I should file a bug on this, but as long as I'm posting here: I followed along with the buildLanguage user guide and created a simple "echo Hello World" task (BuildTest.zip (12KB)
), but I get "Buildfile: build.xml does not exist!" when I try to run it. Am I doing something wrong or should I file a bug?
If I can't get this to work from w/in MPS I see you can generate from w/in an ant script so I might make an ant script outside of MPS that does the building, but that wouldn't demo as well :).