Go to the source code of this file.
Variables | |
Setup for template building | |
string | SConscript::templateDir = './' |
Define the directory in which the templates reside. | |
string | SConscript::includeDir = '../include/' |
Define the include directory destination for .h templates. | |
string | SConscript::commonDir = '../common/' |
Define the common directory destination for .c templates. | |
Functions supporting template file builds | |
tuple | SConscript::cbldr = Builder(action = c_template_builder, suffix='.c', src_suffix='.c-template') |
Define and register a template-driven builder for .c files. | |
tuple | SConscript::hbldr = Builder(action = h_template_builder, suffix='.h', src_suffix='.h-template') |
Define and register a template-driven builder for .h files. | |
def | SConscript::searchAndReplace |
A function to do search and replaces on a file, optionally appending the results to the output file. | |
def | SConscript::genFromTemplate |
A function to create a .c/.h file from multiple replaces through a template. | |
def | SConscript::c_template_builder |
Builds a .c from a template -- SCons Builder function formation. | |
def | SConscript::h_template_builder |
Builds a .h from a template -- SCons Builder function formation. |
It should be called from the main SConscript.py script.
Definition in file SConscript.py.