/[ascend]/trunk/solvers/tron/SConscript
ViewVC logotype

Contents of /trunk/solvers/tron/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1787 - (show annotations) (download)
Sat Jun 7 06:32:58 2008 UTC (14 years, 3 months ago) by jpye
File size: 394 byte(s)
Fixed against Tcl/Tk on Fedora 9.
Removed lots more env.Copy(), change to env.Clone() for newer SCons.
1 Import('env')
2
3 solver_env = env.Clone()
4
5 if solver_env.get('WITH_TRON'):
6 solver_env.AppendUnique(CPPPATH=[solver_env.get('TRON_CPPPATH')])
7
8 lib = solver_env.SharedLibrary("tron",["asc_tron.c"]
9 ,LIBS = ['ascend']
10 ,LIBPATH = ['#']
11 ,SHLIBSUFFIX = env['EXTLIB_SUFFIX']
12 ,SHLIBPREFIX = env['EXTLIB_PREFIX']
13 )
14
15 env.Depends(lib,env['libascend'])
16
17 env['extfns'] += [lib]
18
19 # vim: set syntax=python:

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