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 | johnpye | 809 | Import('env') |
2 | dr_env = env.Copy() | ||
3 | |||
4 | srcs = Split(""" | ||
5 | datareader.c | ||
6 | dr.c | ||
7 | johnpye | 811 | tmy.c |
8 | johnpye | 809 | texttable.c |
9 | johnpye | 816 | sun.c |
10 | johnpye | 809 | """) |
11 | |||
12 | johnpye | 824 | dr_env.Append(LIBPATH=['#']) |
13 | dr_env.Append(LIBS=['ascend']) | ||
14 | johnpye | 809 | |
15 | jpye | 1597 | lib = dr_env.SharedLibrary("datareader",srcs |
16 | ,SHLIBSUFFIX = env['EXTLIB_SUFFIX'] | ||
17 | ,SHLIBPREFIX = env['EXTLIB_PREFIX'] | ||
18 | ) | ||
19 | johnpye | 811 | |
20 | jpye | 1597 | env['extfns'] += [lib] |
21 | |||
22 | johnpye | 811 | # vim: set syntax=python: |
23 |
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |