107 |
tmp3 = local_env.Install(local_env['libinstall'], lib) |
tmp3 = local_env.Install(local_env['libinstall'], lib) |
108 |
env.Alias('target_install_escript_so', tmp3) |
env.Alias('target_install_escript_so', tmp3) |
109 |
|
|
|
tmp4 = py_wrapper_local_env.InstallAs(local_env['pyinstall']+'/escript/escriptcpp.so', py_wrapper_lib) |
|
|
env.Alias('target_install_escriptcpp_so', tmp4) |
|
|
|
|
110 |
#windows specific mod |
#windows specific mod |
111 |
if os.name == 'nt': |
if os.name == 'nt': |
112 |
py_wrapper_local_env.InstallAs(target = [ local_env['pyinstall']+'/escript/escriptcpp.pyd', \ |
tmp4 = py_wrapper_local_env.Install(local_env['pyinstall']+'/escript', ['escriptcpp.pyd', 'escriptcpp.lib', 'escriptcpp.exp']) |
113 |
local_env['pyinstall']+'/escript/escriptcpp.lib', \ |
else: |
114 |
local_env['pyinstall']+'/escript/escriptcpp.exp' ], \ |
tmp4 = py_wrapper_local_env.InstallAs(local_env['pyinstall']+'/escript/escriptcpp.so', py_wrapper_lib) |
115 |
source = py_wrapper_lib) |
env.Alias('target_install_escriptcpp_so', tmp4) |
116 |
|
|
117 |
# export the lib target since tests will depend on it |
# export the lib target since tests will depend on it |
118 |
# the lib target is a list of file nodes (why? win32 produces more than one output file: .lib, .dll, .pdb) |
# the lib target is a list of file nodes (why? win32 produces more than one output file: .lib, .dll, .pdb) |