SConscript (11983:40e0c3829cfe) SConscript (11984:41223424e72c)
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 345 unchanged lines hidden (view full) ---

354here = Dir('.').srcnode().abspath
355for root, dirs, files in os.walk(base_dir, topdown=True):
356 if root == here:
357 # we don't want to recurse back into this SConscript
358 continue
359
360 if 'SConscript' in files:
361 build_dir = joinpath(env['BUILDDIR'], root[len(base_dir) + 1:])
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 345 unchanged lines hidden (view full) ---

354here = Dir('.').srcnode().abspath
355for root, dirs, files in os.walk(base_dir, topdown=True):
356 if root == here:
357 # we don't want to recurse back into this SConscript
358 continue
359
360 if 'SConscript' in files:
361 build_dir = joinpath(env['BUILDDIR'], root[len(base_dir) + 1:])
362 Source.set_group(build_dir)
362 SConscript(joinpath(root, 'SConscript'), variant_dir=build_dir)
363
364for extra_dir in extras_dir_list:
365 prefix_len = len(dirname(extra_dir)) + 1
366
367 # Also add the corresponding build directory to pick up generated
368 # include files.
369 env.Append(CPPPATH=Dir(joinpath(env['BUILDDIR'], extra_dir[prefix_len:])))

--- 1037 unchanged lines hidden ---
363 SConscript(joinpath(root, 'SConscript'), variant_dir=build_dir)
364
365for extra_dir in extras_dir_list:
366 prefix_len = len(dirname(extra_dir)) + 1
367
368 # Also add the corresponding build directory to pick up generated
369 # include files.
370 env.Append(CPPPATH=Dir(joinpath(env['BUILDDIR'], extra_dir[prefix_len:])))

--- 1037 unchanged lines hidden ---