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

Contents of /trunk/solvers/tron/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1597 - (show annotations) (download)
Fri Aug 17 05:26:05 2007 UTC (17 years, 1 month ago) by jpye
File size: 393 byte(s)
New external library naming scheme on Windows: 'name_ascend.dll' instead of 'name.dll'.
This applies to solvers as well as external methods, extpy, import handlers, etc.
1 Import('env')
2
3 solver_env = env.Copy()
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