/[ascend]/trunk/pygtk/interface/SConscript
ViewVC logotype

Diff of /trunk/pygtk/interface/SConscript

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

revision 395 by johnpye, Fri Mar 31 06:09:03 2006 UTC revision 398 by johnpye, Fri Mar 31 07:55:11 2006 UTC
# Line 40  lib = env.Library("ascxx",srcs Line 40  lib = env.Library("ascxx",srcs
40      , CPPFLAGS = ['-O3']      , CPPFLAGS = ['-O3']
41  )    )  
42    
43  #import platform  #----------------------------------------------
44  #if platform.system()=="Windows":  # SWIG Builder
45  #   #  
 #   #  
46  def swig_modify_targets(target, source, env):  def swig_modify_targets(target, source, env):
47      target.append('ascend.py')      target.append('ascend.py')
48      target.append('ascend_wrap.h')      target.append('ascend_wrap.h')
# Line 54  swig_builder = Builder( Line 53  swig_builder = Builder(
53      , emitter=swig_modify_targets      , emitter=swig_modify_targets
54  )  )
55  env.Append(BUILDERS={'Swig':swig_builder})  env.Append(BUILDERS={'Swig':swig_builder})
56    #---------------------------------------------
57    
58    
59  swig = env.Swig(target=['ascend_wrap.cc'],source=['ascend.i']  swig = env.Swig(target=['ascend_wrap.cc'],source=['ascend.i']
60      , SWIGFLAGS=['-python','-c++']      , SWIGFLAGS=['-python','-c++']
61      , CPPFLAGS = ['-O3']      , CPPFLAGS = ['-O3']
62  )  )
 #else:    
 #swig = env.CFile(target=['ascend_wrap.cc'],source=['ascend.i']  
 #       , SWIGFLAGS=['-python','-c++']  
 #       , ENV={'SWIGFEATURES':'-O'}  
 #       , CPPFLAGS = ['-O3']  
 #   )  
   
 #env.Depends('ascend.py',swig);  
63    
64    
65  swiglib = env.SharedLibrary("ascend",['ascend_wrap.cc']  swiglib = env.SharedLibrary("ascend",['ascend_wrap.cc']

Legend:
Removed from v.395  
changed lines
  Added in v.398

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22