Codders, resources for programmers by Vokimon

SCons tools

This page contains some scons tools i contributed to the SCons project on the context of CLAM. They are hosted here waiting until they go to the official SCons release.

About SCons

SCons is a python based replacement for the make utility. The main purpose is to orchestrate the different commands needed to build an application from the sources.

SCons can be extended by adding tools. Each tool gives SCons the ability to perform new kinds of build steps (builders). To add them to your SCons environment just add this line:

env.Tool('toolname', toolpath=['path/to/the/tool'])

Qt4 tool (qt4)

This tool provides builders and fills the environment to build a Qt 4.x.x application. It is based on the existing qt tool which addressed qt3 (by Karol Pietrzak). As the build process on qt4 and qt3 is different, a new tool is needed.

This tool provides the following builders:

The tool also adds an environment method (EnableQt4Modules) to choose the qt modules you need to use and whether you want to use debug or release versions of the libraries. You should use it like this:

	['QtCore', 'QtGui', QtOpenGL'],


Limitations and TO-DO's

Null Soft Installer System tool (nsis)

The Null Soft Installer System (NSIS) is a framework to develop installers for the Windows platform.

This tool is still under development but feel free to try it. For this tool I just packaged into a tool the previous work by Xavier Rubio for CLAM.


Limitations and TO-DO's

OSX Disk Image tool (dmg)


Limitations and TO-DO's