[Opal-commits] opal/samples/playpen SConstruct,1.3,1.4
Status: Inactive
Brought to you by:
tylerstreeter
|
From: tylerstreeter <tyl...@us...> - 2005-04-21 17:05:08
|
Update of /cvsroot/opal/opal/samples/playpen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25481/samples/playpen Modified Files: SConstruct Log Message: last minute fixed for 0.3.0 release Index: SConstruct =================================================================== RCS file: /cvsroot/opal/opal/samples/playpen/SConstruct,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** SConstruct 19 Apr 2005 14:28:57 -0000 1.3 --- SConstruct 21 Apr 2005 17:04:59 -0000 1.4 *************** *** 5,14 **** """) env = Environment( ENV = os.environ, ! CXXFLAGS = ['-DGCC_3_1', '-DEXT_HASH'], ! LIBS = ['opal-ode', 'OgreMain'] ) # Build the executable. exe = env.Program('playpen', sources) --- 5,26 ---- """) + # Setup options + opts = Options() + opts.AddOptions( + PathOption('extra_include_path', 'Additional include directory', '.'), + PathOption('extra_lib_path', 'Additional lib directory', '.')) + env = Environment( ENV = os.environ, ! LIBS = ['opal-ode', 'OgreMain'], ! options = opts ) + env.Append(CPPPATH = env['extra_include_path'], + LIBPATH = env['extra_lib_path']) + + if env['PLATFORM'] != 'win32': + env.Append(CXXFLAGS = ['-DGCC_3_1', '-DEXT_HASH']) + # Build the executable. exe = env.Program('playpen', sources) |