SConstruct (5588:d8b246a665c1) | SConstruct (5708:96614cd66f76) |
---|---|
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 --- 355 unchanged lines hidden (view full) --- 364else: 365 print 'Error: Don\'t know what compiler options to use for your compiler.' 366 print ' Please fix SConstruct and src/SConscript and try again.' 367 Exit(1) 368 369# Do this after we save setting back, or else we'll tack on an 370# extra 'qdo' every time we run scons. 371if env['BATCH']: | 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 --- 355 unchanged lines hidden (view full) --- 364else: 365 print 'Error: Don\'t know what compiler options to use for your compiler.' 366 print ' Please fix SConstruct and src/SConscript and try again.' 367 Exit(1) 368 369# Do this after we save setting back, or else we'll tack on an 370# extra 'qdo' every time we run scons. 371if env['BATCH']: |
372 env['CC'] = env['BATCH_CMD'] + ' ' + env['CC'] 373 env['CXX'] = env['BATCH_CMD'] + ' ' + env['CXX'] | 372 env['CC'] = env['BATCH_CMD'] + ' ' + env['CC'] 373 env['CXX'] = env['BATCH_CMD'] + ' ' + env['CXX'] 374 env['AS'] = env['BATCH_CMD'] + ' ' + env['AS'] 375 env['AR'] = env['BATCH_CMD'] + ' ' + env['AR'] 376 env['RANLIB'] = env['BATCH_CMD'] + ' ' + env['RANLIB'] |
374 375if sys.platform == 'cygwin': 376 # cygwin has some header file issues... 377 env.Append(CCFLAGS=Split("-Wno-uninitialized")) 378env.Append(CPPPATH=[Dir('ext/dnet')]) 379 380# Check for SWIG 381if not env.has_key('SWIG'): --- 493 unchanged lines hidden --- | 377 378if sys.platform == 'cygwin': 379 # cygwin has some header file issues... 380 env.Append(CCFLAGS=Split("-Wno-uninitialized")) 381env.Append(CPPPATH=[Dir('ext/dnet')]) 382 383# Check for SWIG 384if not env.has_key('SWIG'): --- 493 unchanged lines hidden --- |