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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 694 - (show annotations) (download)
Thu Jun 22 07:54:53 2006 UTC (14 years ago) by johnpye
File size: 664 byte(s)
Lots of tidying up to relation_util code. (Most commments but a 
little refactoring of repeated code chunks.)
Added 'IMPORT' to the Gedit syntax definition.
Added error_reporters in place of some console output.
1 import os, platform
2
3 if platform.system()=="Windows" and os.environ.has_key('OSTYPE'):
4 env = Environment(ENV=os.environ,tools=['mingw'])
5 else:
6 env = Environment(ENV=os.environ);
7 # assuming GCC, we will want the GCC visibility stuff set so that
8 # we ensure windows will work as well.
9 env.Append(CCFLAGS=['-fvisibility=hidden'])
10 env.Append(CPPDEFINES=['HAVE_GCCVISIBILITY'])
11
12 srcs = Split("""
13 extfntest.c
14 """)
15
16 env.ParseConfig('ascend-config')
17 env.Append(CPPPATH=['../../../base/generic'])
18
19 env.SharedLibrary("extfntest",srcs)
20
21 # To run the test
22 # type
23 #
24 # ASCENDLIBRARY=../../../models LD_LIBRARY_PATH=../../.. PYTHONPATH=../../../pygtk python extfntest.py
25

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