Parent Directory | Revision Log
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 | jpye | 1504 | Import('env') |
2 | |||
3 | # To run the test, type | ||
4 | # ascend johnpye/qrslv/qrslv.a4c | ||
5 | |||
6 | jpye | 1597 | lib = env.SharedLibrary("qrslv",["qrslv.c"] |
7 | jpye | 1504 | ,LIBS = ['ascend'] |
8 | ,LIBPATH = ['#'] | ||
9 | jpye | 1597 | ,SHLIBSUFFIX = env['EXTLIB_SUFFIX'] |
10 | ,SHLIBPREFIX = env['EXTLIB_PREFIX'] | ||
11 | ) | ||
12 | jpye | 1504 | |
13 | jpye | 1597 | env['extfns'] += [lib] |
14 | jpye | 1504 | |
15 | jpye | 1597 | env.Depends(lib,env['libascend']) |
16 | jpye | 1510 | |
17 | jpye | 1504 | if env.get('CAN_INSTALL'): |
18 | jpye | 1505 | dir = Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS")) |
19 | jpye | 1597 | env.InstallShared(dir,lib) |
20 | jpye | 1504 | |
21 | # vim: set syntax=python: |
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |