Creating new projects

Create a new directory and a set of subdirectories. Recommended layout:

Create the project file SConstruct:

The build process is defined using the standard scons build files. To learn how to use scons and its build files, refer to the “SCons User Guide”. The tool cdoc itself is just a wrapper for the tool scons.

Here is a typical SConstruct file for Consodoc:

import Consodoc
Consodoc.default_process(
in_file = 'in/text.xml',
in_xslt = 'support/convert.xsl'
)