SConscript (5067:eba818456aa9) SConscript (5068:85724aae4456)
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

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

158 continue
159
160 if 'SConscript' in files:
161 # strip off the srcdir part since scons will try to find the
162 # script in the build directory
163 base = root[len(srcdir) + 1:]
164 SConscript(joinpath(base, 'SConscript'))
165
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

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

158 continue
159
160 if 'SConscript' in files:
161 # strip off the srcdir part since scons will try to find the
162 # script in the build directory
163 base = root[len(srcdir) + 1:]
164 SConscript(joinpath(base, 'SConscript'))
165
166for extra in env['EXTRAS'].split(':'):
167 extra = os.path.expanduser(extra)
168 extra = os.path.normpath(extra)
169 env.Append(CPPPATH=[Dir(extra)])
170 for root, dirs, files in os.walk(extra, topdown=True):
171 if 'SConscript' in files:
172 subdir = root[len(os.path.dirname(extra))+1:]
173 build_dir = joinpath(env['BUILDDIR'], subdir)
174 SConscript(joinpath(root, 'SConscript'), build_dir=build_dir)
166extra_string = env['EXTRAS']
167if extra_string and extra_string != '' and not extra_string.isspace():
168 for extra in extra_string.split(':'):
169 extra = os.path.expanduser(extra)
170 extra = os.path.normpath(extra)
171 env.Append(CPPPATH=[Dir(extra)])
172 for root, dirs, files in os.walk(extra, topdown=True):
173 if 'SConscript' in files:
174 subdir = root[len(os.path.dirname(extra))+1:]
175 build_dir = joinpath(env['BUILDDIR'], subdir)
176 SConscript(joinpath(root, 'SConscript'), build_dir=build_dir)
175
176for opt in env.ExportOptions:
177 env.ConfigFile(opt)
178
179########################################################################
180#
181# Prevent any SimObjects from being added after this point, they
182# should all have been added in the SConscripts above

--- 232 unchanged lines hidden ---
177
178for opt in env.ExportOptions:
179 env.ConfigFile(opt)
180
181########################################################################
182#
183# Prevent any SimObjects from being added after this point, they
184# should all have been added in the SConscripts above

--- 232 unchanged lines hidden ---