Changeset 368
- Timestamp:
- 10/30/06 11:36:43 (2 years ago)
- Files:
-
- trunk/SConstruct (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/SConstruct
r302 r368 186 186 opensg_version_string = file("VERSION").readline().strip() 187 187 188 # Figure out what version of CppDom we're using189 188 print "Building OpenSG ", opensg_version_string 190 189 … … 194 193 option_filename = "option.cache." + platform 195 194 196 if ARGUMENTS.has_key("buildbot_slave"): 197 print "Buildbot slave build initiated" 198 build_slave_filename = "buildbot.options" 199 if ARGUMENTS["buildbot_slave"] not in ["true", "1", "yes"]: 200 build_slave_filename = ARGUMENTS["buildbot_slave"] 201 buildbot_options_file = os.path.abspath(os.path.join(os.getcwd(), "..", "..", build_slave_filename)) 202 if os.path.exists(buildbot_options_file): 203 print "Buildbot slave:" 204 print " found options file: %s" % str(buildbot_options_file) 205 execfile(buildbot_options_file, ARGUMENTS) 206 print " finished processing options" 195 if ARGUMENTS.has_key("options_file"): 196 opt_file = ARGUMENTS["options_file"] 197 if os.path.exists(opt_file): 198 print "Reading options from: %s" % str(opt_file) 199 option_filename = opt_file 207 200 else: 208 print "Buildbot slave: Options file not found.. will continue with defaults" 201 print "Options file '%s' not found.. will continue with default '%s'" % \ 202 (opt_file, option_filename) 209 203 210 204 # Create base environment to use for option processing … … 245 239 246 240 # Create option objects 247 boost_options = sca_opts.Boost.Boost("boost","1.31.0", libs=['filesystem'],required=True)241 boost_options = sca_opts.Boost.Boost("boost","1.31.0",required=True) 248 242 249 243 glut_libname = "glut"
