/[escript]/trunk/escript/SConstruct
ViewVC logotype

Diff of /trunk/escript/SConstruct

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

revision 454 by gross, Tue Jan 10 04:10:39 2006 UTC revision 455 by jgs, Tue Jan 24 04:36:54 2006 UTC
# Line 1  Line 1 
1    # Scons configuration file for escript
2    
3  #  #
4  # set appropriate defaults for configuration variables  # set appropriate defaults for configuration variables
5  esysroot=str(Dir('./..').abspath)  esysroot=str(Dir('./..').abspath)
6  execfile(str(File(esysroot+"/scons/esys_options.py")))  execfile(str(File(esysroot+"/scons/esys_options.py")))
7    
8    Export(["python_path"])
9    Export(["boost_path"])
10    Export(["cxx"])
11    Export(["cxx_flags"])
12    Export(["boost_lib_path"])
13    Export(["boost_lib"])
14    Export(["python_lib_path"])
15    Export(["python_lib"])
16    Export(["sys_libs"])
17    Export(["pyinstall"])
18    Export(["libinstall"])
19    
20  #  #
21  # set and export library directories  # set and export library directories
22    
# Line 18  Export(["pydir"]) Line 33  Export(["pydir"])
33  pydir2 = Dir(str(esysroot) + '/esys/escript')  pydir2 = Dir(str(esysroot) + '/esys/escript')
34  Export(["pydir2"])  Export(["pydir2"])
35    
   
 if pyinstall: pyinstall = Dir(str(pyinstall) + '/escript')  
   
 Export(["python_path"])  
 Export(["boost_path"])  
 Export(["cxx"])  
 Export(["cxx_flags"])  
 Export(["boost_lib_path"])  
 Export(["boost_lib"])  
 Export(["python_lib_path"])  
 Export(["python_lib"])  
 Export(["sys_libs"])  
 Export(["pyinstall"])  
 Export(["libinstall"])  
   
36  #  #
37  # print out build configuration for this module  # print out build configuration for this module
38    
# Line 41  print "             cxx: ", cxx Line 41  print "             cxx: ", cxx
41  print "       cxx_flags: ", cxx_flags  print "       cxx_flags: ", cxx_flags
42    
43  #  #
44  # call the SConscript to do the actual build  # call the SConscripts to do the actual build
45    
46  SConscript(dirs=['src/Data'], build_dir='obj/Data', duplicate=0)  SConscript(dirs=['src/Data'], build_dir='obj/Data', duplicate=0)
47  SConscript(dirs=['py_src'], build_dir='obj/py_src', duplicate=0)  SConscript(dirs=['py_src'], build_dir='obj/py_src', duplicate=0)

Legend:
Removed from v.454  
changed lines
  Added in v.455

  ViewVC Help
Powered by ViewVC 1.1.26