Changeset 470
- Timestamp:
- 01/05/07 16:28:02 (2 years ago)
- Files:
-
- trunk/SConstruct (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/SConstruct
r460 r470 2 2 # 3 3 # SCons build script for OpenSG 4 4 import os, string, sys, re, glob, copy, types, traceback, pprint, tempfile, shutil 5 pj = os.path.join 5 6 6 7 # If we have wingide, try loading the debugging extenstions … … 11 12 pass 12 13 13 import os, string, sys, re, glob, copy, types, traceback, pprint, tempfile, shutil 14 pj = os.path.join 14 # Extend paths for scons-addons and scons-build if needed 15 # - this allows a development version of scons-addons to be 16 # in the standard python path and used instead. 17 try: 18 import SConsAddons.Util 19 print "Using SConsAddons from: ", os.path.dirname(SConsAddons.Util.__file__) 20 except: 21 sys.path.insert(0,pj('Tools','scons-addons','src')) 22 print "Using SConsAddons from: Tools/scons-addons/src" 23 24 sys.path.insert(0,pj('Tools','scons-build')) 15 25 16 26 print "-------------------------------------------------" … … 18 28 print " - It needs the svn version of scons-addons" 19 29 print "WARNING:" 20 21 sys.path.insert(0,pj('Tools','scons-addons','src'))22 sys.path.insert(0,pj('Tools','scons-build'))23 30 24 31 import SCons.Environment … … 242 249 Output variables: 243 250 - library: Name of the library to which the current directory belongs. 244 - stop_traversal: If True, subdirectories are not visited.251 - stop_traversal: If True, ignore this directory and everything below it. 245 252 246 253 - osg_dep_libs: List of OpenSG library names, this library depends upon (for linking).
