/[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 186 by robwdcock, Sun Nov 20 10:51:16 2005 UTC revision 209 by robwdcock, Wed Nov 23 06:32:25 2005 UTC
# Line 13  EnsurePythonVersion(2,3) Line 13  EnsurePythonVersion(2,3)
13  #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?
14    
15  # Third-Party libraries  # Third-Party libraries
16  boost_inc = 'E:/woo409/development/boost'  boost_home = 'E:/woo409/development/boost'
17  python_home = 'C:/Python23'  python_home = env['PYTHON_HOME']
18    
19  # Where to install (and find) esys includes and libraries  # Where to install (and find) esys includes and libraries
20  # Note: #/ means relative to the top of source tree  # Note: #/ means relative to the top of source tree
# Line 24  esys_lib = '#/lib' Line 24  esys_lib = '#/lib'
24  # Derived paths  # Derived paths
25  python_inc = python_home + '/include'  python_inc = python_home + '/include'
26  python_lib = python_home + '/libs'  python_lib = python_home + '/libs'
27    boost_inc = boost_home
28    boost_lib = boost_home + '/windows_binary/lib'
29    
30  incdir = [ boost_inc, python_inc, esys_inc ]  incdir = [ boost_inc, python_inc, esys_inc ]
31  libdir = [ python_lib, esys_lib ]  libdir = [ boost_lib, python_lib, esys_lib ]
32    
33  env.Append(CPPPATH=incdir)  env.Append(CPPPATH=incdir)
34  env.Append(LIBPATH=libdir)  env.Append(LIBPATH=libdir)
# Line 42  if env['PLATFORM'] == "win32": Line 44  if env['PLATFORM'] == "win32":
44        print "DEBUG build"        print "DEBUG build"
45        env.Append(CCFLAGS = ' /Od /MDd /RTC1')        env.Append(CCFLAGS = ' /Od /MDd /RTC1')
46        env.Append(CPPDEFINES = ['_DEBUG'])        env.Append(CPPDEFINES = ['_DEBUG'])
47          boost_lib_name = 'boost_python-vc71-mt-sgd'
48    
49  Export(["env", "incdir", "esys_inc", "esys_lib" ])  Export(["env", "incdir", "esys_inc", "esys_lib", "boost_lib_name" ])
50    
51  env.SConscript(dirs = ['paso/src'], build_dir='win32/build/paso', duplicate=0)  env.SConscript(dirs = ['paso/src'], build_dir='win32/build/paso', duplicate=0)
52    env.SConscript(dirs = ['bruce/src'], build_dir='win32/build/bruce', duplicate=0)
53    env.SConscript(dirs = ['escript/src/Data'], build_dir='win32/build/escript/Data', duplicate=0)
54    env.SConscript(dirs = ['esysUtils/src'], build_dir='win32/build/esysUtils', duplicate=0)
55  env.SConscript(dirs = ['win32/win32_utils'], build_dir='win32/build/win32_utils', duplicate=0)  env.SConscript(dirs = ['win32/win32_utils'], build_dir='win32/build/win32_utils', duplicate=0)
56  env.SConscript(dirs = ['tools/mmio/src'], build_dir='win32/build/tools/mmio', duplicate=0)  env.SConscript(dirs = ['tools/mmio/src'], build_dir='win32/build/tools/mmio', duplicate=0)
57    env.SConscript(dirs = ['tools/CppUnitTest/src'], build_dir='win32/build/tools/CppUnitTest', duplicate=0)

Legend:
Removed from v.186  
changed lines
  Added in v.209

  ViewVC Help
Powered by ViewVC 1.1.26