Import ('env') variant = env ['VARIANT'] result = SConscript ('SConscript', exports='env', variant_dir='%s' % variant, duplicate=0) Return ('result')