16 |
Import('*') |
Import('*') |
17 |
|
|
18 |
local_env = clone_env(env_mpi) |
local_env = clone_env(env_mpi) |
19 |
local_env.AppendUnique(LIBS = [env["silo_libs"], "escriptexport"]) |
if local_env['usesilo']: |
20 |
prog = local_env.Program("escriptconvert", ["escriptconvert.cpp"]) |
local_env.Append(CPPDEFINES = ['USE_SILO']) |
21 |
env.Alias("target_escriptconvert", prog) |
local_env.AppendUnique(LIBS = [env['silo_libs']]) |
22 |
inst_escriptconvert = local_env.Install(local_env["bininstall"], prog) |
|
23 |
env.Alias("target_install_escriptconvert", inst_escriptconvert) |
local_env.AppendUnique(LIBS = ['escriptexport']) |
24 |
|
prog = local_env.Program('escriptconvert', ['escriptconvert.cpp']) |
25 |
|
env.Alias('target_escriptconvert', prog) |
26 |
|
inst_escriptconvert = local_env.Install(local_env['bininstall'], prog) |
27 |
|
env.Alias('target_install_escriptconvert', inst_escriptconvert) |
28 |
|
|
29 |
# esdcreate has no other dependencies |
# esdcreate has no other dependencies |
30 |
local_env = clone_env(env) |
local_env = clone_env(env) |
31 |
prog = local_env.Program("esdcreate", "esdcreate.cpp") |
prog = local_env.Program('esdcreate', 'esdcreate.cpp') |
32 |
env.Alias("target_esdcreate", prog) |
env.Alias('target_esdcreate', prog) |
33 |
inst_esdcreate = local_env.Install(local_env["bininstall"], prog) |
inst_esdcreate = local_env.Install(local_env['bininstall'], prog) |
34 |
env.Alias("target_install_esdcreate", inst_esdcreate) |
env.Alias('target_install_esdcreate', inst_esdcreate) |
35 |
|
|