Please note:The SCons wiki is in read-only mode due to ongoing spam/DoS issues. Also, new account creation is currently disabled. We are looking into alternative wiki hosts.

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.


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


for C files, or


for CPP output.

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