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

Annotation of /trunk/pygtk/interface/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 387 - (hide annotations) (download)
Thu Mar 30 05:13:59 2006 UTC (14 years, 7 months ago) by johnpye
File size: 837 byte(s)
Added SConscript for PyGTK interface.
It's not finding the lib files, something wrong with the -L options?
1 johnpye 387 Import('env')
2    
3     srcs = Split("""
4    
5     library.cpp type.cpp module.cpp symchar.cpp
6     instance.cpp instanceinterfacedata.cpp
7     method.cpp name.cpp
8     reporter.cpp simulation.cpp set.cpp units.cpp dimensions.cpp extmethod.cpp
9     variable.cpp relation.cpp
10     solver.cpp curve.cpp plot.cpp
11     solverparameters.cpp solverparameter.cpp solverparameteriterator.cpp
12     solverstatus.cpp solverreporter.cpp
13     incidencematrix.cpp
14    
15     """)
16    
17     libs = Split("""
18     asccompiler ascpackages ascsolver ascutilities ascgeneral
19     python
20     """)
21    
22     libpath = Split("""
23     ../../../base/generic/compiler
24     ../../../base/generic/packages
25     ../../../base/generic/solver
26     ../../../base/generic/utilities
27     ../../../base/generic/general
28     """)
29    
30     env.SharedLibrary("ascend",srcs
31     , LIBS = libs
32     , LIBPATH = libpath
33     , CPPPATH = ['../../base/generic','$CPPPATH']
34     , CPPDEFINES = ['ASCXX_USE_PYTHON']
35     )

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