/[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 391 by johnpye, Thu Mar 30 07:19:05 2006 UTC revision 392 by johnpye, Thu Mar 30 12:36:15 2006 UTC
# Line 16  srcs = Split(""" Line 16  srcs = Split("""
16    
17  libs = Split("""  libs = Split("""
18      asccompiler ascpackages ascsolver ascutilities ascgeneral      asccompiler ascpackages ascsolver ascutilities ascgeneral
     $PYTHON_LIB  
19  """)  """)
20    
21    swig = CFile(target=['ascend_wrap.cc'],source=['ascend.i']
22        , SWIGFLAGS=['-python','-c++']
23    )
24    env.Depends('ascend.py',swig);
25    
26  libpath = [  libpath = [
27      '../../base/generic/compiler'      '../../base/generic/compiler'
28      ,'../../base/generic/packages'      ,'../../base/generic/packages'
29      ,'../../base/generic/solver'      ,'../../base/generic/solver'
30      ,'../../base/generic/utilities'      ,'../../base/generic/utilities'
31      ,'../../base/generic/general'      ,'../../base/generic/general'
     ,'$PYTHON_LIBPATH'  
32  ]  ]
33    
34  env.SharedLibrary("ascend",srcs  lib = env.SharedLibrary("ascend",srcs+swig
35      , LIBS = libs      , LIBS = libs #+env['PYTHON_LIB']
36      , LIBPATH = libpath      , LIBPATH = libpath+env['PYTHON_LIBPATH']
37      , CPPPATH = ['../../base/generic','$CPPPATH']      , CPPPATH = ['../../base/generic']+env['PYTHON_CPPPATH']
38      , CPPDEFINES = ['ASCXX_USE_PYTHON']      , CPPDEFINES = ['ASCXX_USE_PYTHON']
39        , SHLIBPREFIX = '_'
40  )  )
41    
42    env.Depends(lib,'ascend.py')

Legend:
Removed from v.391  
changed lines
  Added in v.392

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