The SCons Gob2 tool

This tool offers a simple Builder named Gob2() for creating C/CPP and header files from *.gob input. It does so by calling the GObject builder executable gob2.

Install

Installing it requires you to copy (or, even better: checkout) the contents of the package's gob2 folder to

For more infos about this, please refer to

How to activate

For activating the tool "gob2", you have to add its name to the Environment constructor, like this

env = Environment(tools=['default','gob2'])

On its startup, the Gob2 tool tries to find the gob2 executable. So make sure that it is added to your system's environment PATH and can be called directly, without giving its full path.

Using it

Simply call

env.Gob2('*.gob')

for C files, or

env.Gob2Cpp('*.gob')

for CPP output.

Gob2Tool (last edited 2011-01-11 19:42:30 by DirkBaechle)