/[ascend]/trunk/models/johnpye/extfn/SConstruct
ViewVC logotype

Contents of /trunk/models/johnpye/extfn/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 542 - (show annotations) (download)
Wed Apr 26 15:15:40 2006 UTC (14 years, 9 months ago) by johnpye
File size: 415 byte(s)
This is a patch to allow statements like "IMPORT johnpye/extfn/extfntest".
It modifies the methods in packages.c. Plan is to reuse the same code for "REQUIRE xxxxxx" statements as well.

1 import os, platform
2 if platform.system()=="Windows" and os.environ.has_key('OSTYPE'):
3 env = Environment(ENV=os.environ,tools=['mingw'])
4 else:
5 env = Environment(ENV=os.environ);
6
7 srcs = Split("""
8 extfntest.c
9 """)
10
11 env.SharedLibrary("extfntest",srcs
12 , CPPPATH=['../../../base/generic']
13 , LIBS=['ascend']
14 , LIBPATH=['../../..']
15 )
16
17 # To run the test
18 # type
19 #
20 # PYTHONPATH=../../../pygtk/interface ./extfntest.py
21

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