/[escript]/branches/RW_WIN32/SConstruct
ViewVC logotype

Diff of /branches/RW_WIN32/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 221 by phornby, Thu Nov 24 11:23:33 2005 UTC revision 222 by robwdcock, Thu Nov 24 12:54:42 2005 UTC
# Line 1  Line 1 
1  opts = Options('custom.py')  opts = Options('custom.py')
2  opts.AddOptions(  opts.AddOptions(
3     BoolOption('RELEASE', 'Set to build for release', 0),     BoolOption('RELEASE', 'Set to build for release', 0),
4     PathOption('PYTHON_HOME','Path to python home','/usr/lib/python2.3')     PathOption('PYTHON_HOME','Path to python home','/usr/lib/python2.3'),
5       PathOption('BOOST_HOME','Path to boost home','/usr/include/boost')
6  )  )
7    
8    
# Line 24  EnsurePythonVersion(2,3) Line 25  EnsurePythonVersion(2,3)
25  #TODO: Is there a more compact way of setting up the include paths?  #TODO: Is there a more compact way of setting up the include paths?
26    
27  # Third-Party libraries  # Third-Party libraries
28  boost_home = '/usr/include/boost'  boost_home = env['BOOST_HOME']
29  python_home = env['PYTHON_HOME']  python_home = env['PYTHON_HOME']
30    
31  # Where to install (and find) esys includes and libraries  # Where to install (and find) esys includes and libraries
# Line 37  if env['PLATFORM'] == "win32": Line 38  if env['PLATFORM'] == "win32":
38     python_inc = python_home + '/include'     python_inc = python_home + '/include'
39     python_lib = python_home + '/libs'     python_lib = python_home + '/libs'
40     boost_inc = boost_home     boost_inc = boost_home
41     boost_lib = boost_home + '/usr/lib'     boost_lib = boost_home + '/windows_binary/lib'
42  elif  env['PLATFORM'] == "posix":  elif  env['PLATFORM'] == "posix":
43     python_inc = '/usr/include/python2.3'     python_inc = '/usr/include/python2.3'
44     python_lib = '/usr/lib'     python_lib = '/usr/lib'

Legend:
Removed from v.221  
changed lines
  Added in v.222

  ViewVC Help
Powered by ViewVC 1.1.26