Deleted Added
sdiff udiff text old ( 5068:85724aae4456 ) new ( 5192:582e583f8e7e )
full compact
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

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

130# Children should have access
131Export('Source')
132Export('PySource')
133Export('SimObject')
134Export('SwigSource')
135
136########################################################################
137#
138# Set some compiler variables
139#
140
141# Include file paths are rooted in this directory. SCons will
142# automatically expand '.' to refer to both the source directory and
143# the corresponding build directory to pick up generated include
144# files.
145env.Append(CPPPATH=Dir('.'))

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

302 swig_modules.append(Value(module))
303 Source(cc_file)
304 PySource(package, py_file)
305
306# Generate the main swig init file
307env.Command('swig/init.cc', swig_modules, generate.makeSwigInit)
308Source('swig/init.cc')
309
310# Build the zip file
311py_compiled = []
312py_zip_depends = []
313for source in py_sources:
314 env.Command(source.compiled, source.source, generate.compilePyFile)
315 py_compiled.append(source.compiled)
316
317 # make the zipfile depend on the archive name so that the archive

--- 99 unchanged lines hidden ---