/[escript]/trunk/tools/escriptconvert/SConscript
ViewVC logotype

Diff of /trunk/tools/escriptconvert/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2929 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 2930 by caltinay, Mon Feb 8 06:25:43 2010 UTC
# Line 16  import os Line 16  import os
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    

Legend:
Removed from v.2929  
changed lines
  Added in v.2930

  ViewVC Help
Powered by ViewVC 1.1.26