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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 709 - (hide annotations) (download)
Wed Jun 28 16:28:57 2006 UTC (14 years, 6 months ago) by johnpye
File size: 682 byte(s)
Monster commit!
Lots of recommenting and reorganising of external relations-related stuff.
Replaced a lot of ascmalloc and asccalloc calls with the new ASC_NEW* macros.
Fixed (?) the problem Art is having with icons in PyGTK.
Turned on -Wall in SConstruct and fixed up a stack of warnings.
Removed the redundant exit(2) from after Asc_Panic calls and added __attribute__((noreturn)).
Set doxygen to create callgraphs to level 2, updated doxyfile to version 1.4.7.
Fixed up building of extfntest.c.
1 johnpye 542 import os, platform
2 johnpye 692
3 johnpye 542 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 johnpye 692 # 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 johnpye 424
12     srcs = Split("""
13     extfntest.c
14     """)
15    
16 johnpye 709 env.ParseConfig('ascend-config --cppflags --libs')
17 johnpye 692 env.Append(CPPPATH=['../../../base/generic'])
18 johnpye 424
19 johnpye 692 env.SharedLibrary("extfntest",srcs)
20    
21 johnpye 424 # To run the test
22     # type
23     #
24 johnpye 692 # ASCENDLIBRARY=../../../models LD_LIBRARY_PATH=../../.. PYTHONPATH=../../../pygtk python extfntest.py
25 johnpye 424

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