var.AddVariables(PathVariable('LIBFOO',
    'where the foo library is installed', 'C:\\default\\libfoo',
    PathVariable.PathIsDir))
env = Environment(variables=var)
env.Program('test', 'main.c', LIBPATH='$LIBFOO')
SCons configuration file and default values