[Rant-cafe] SCons like targets

Xavier Shay xavier-list at rhnh.net
Wed Dec 6 20:55:49 EST 2006


> Ok, I'll bite and try my hand at a generator for c++. Do you recommend
> that I start with cs_compiler.rb as a template or rather start from
> scratch using something like Command as a template.

Rant apparently already does dependency scanning for C++:
http://rant.rubyforge.org/files/doc/c_rdoc.html

I can't comment on how complete or useful this is - I don't do any C++
dev myself and haven't tried it. The examples link doesn't work, but if
you do an SVN checkout you can see a few C++ examples in doc/examples.
 
If you're going ahead with a generator, I would work from cs_compiler
and associated tests, as I tried to write this in accordance with what I
consider "best practice" for generators.

Xavier



More information about the Rant-cafe mailing list