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

Annotation of /trunk/models/johnpye/extfn/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 534 - (hide annotations) (download)
Tue Apr 25 13:25:04 2006 UTC (14 years, 9 months ago) by johnpye
File size: 312 byte(s)
Working on platform-independent pathnames for the IMPORT command.
Added 'ospath.c' to base/generic/general for this purpose.
Patched kvalues and sensitivity to use the 'IMPORT "libname";' syntax
instead of 'IMPORT registerfn FROM libname;'.
Fixed pathnames in create.nsi.
Added GPL header to coupla files.
Added quoting to 'IMPORT' syntax in ascParse.y.
Removed 'PackageOption' from Tcl/Tk related Scons options so that missing Tcl/Tk
doesn't cause breakage.
1 johnpye 424 import os
2 johnpye 534 env = Environment(ENV=os.environ,tools=['mingw'])
3 johnpye 424
4     srcs = Split("""
5     extfntest.c
6     """)
7    
8     env.SharedLibrary("extfntest",srcs
9     , CPPPATH=['../../../base/generic']
10     , LIBPREFIX=''
11 johnpye 466 , LIBS=['ascend']
12     , LIBPATH=['../../..']
13 johnpye 424 )
14    
15     # To run the test
16     # type
17     #
18     # PYTHONPATH=../../../pygtk/interface ./extfntest.py
19    

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