/[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 3258 by caltinay, Mon Sep 27 01:54:46 2010 UTC revision 3259 by jfenwick, Mon Oct 11 01:48:14 2010 UTC
# Line 11  Line 11 
11  #  #
12  ########################################################  ########################################################
13    
   
14  import os  import os
15  Import('*')  Import('*')
16    local_env = env.Clone()
17    
18  local_env = clone_env(env_mpi)  if local_env['silo']:
19  if local_env['usesilo']:      local_env.Append(CPPDEFINES = ['USE_SILO'])
20    local_env.Append(CPPDEFINES = ['USE_SILO'])      local_env.AppendUnique(LIBS = env['silo_libs'])
   local_env.AppendUnique(LIBS = [env['silo_libs']])  
21    
22  local_env.AppendUnique(LIBS = ['weipa','finley','escript'])  local_env.Append(LIBS = ['weipa', 'dudley', 'finley', 'escript'])
23  prog = local_env.Program('escriptconvert', ['escriptconvert.cpp'])  prog = local_env.Program('escriptconvert', ['escriptconvert.cpp'])
24  env.Alias('target_escriptconvert', prog)  env.Alias('build_escriptconvert', prog)
25  inst_escriptconvert = local_env.Install(local_env['bininstall'], prog)  inst_escriptconvert = local_env.Install(local_env['bininstall'], prog)
26  env.Alias('target_install_escriptconvert', inst_escriptconvert)  env.Alias('install_escriptconvert', inst_escriptconvert)
27    
28  # esdcreate has no other dependencies  # esdcreate has no other dependencies
29  local_env = clone_env(env)  local_env = env.Clone()
30  prog = local_env.Program('esdcreate', 'esdcreate.cpp')  prog = local_env.Program('esdcreate', 'esdcreate.cpp')
31  env.Alias('target_esdcreate', prog)  env.Alias('build_esdcreate', prog)
32  inst_esdcreate = local_env.Install(local_env['bininstall'], prog)  inst_esdcreate = local_env.Install(local_env['bininstall'], prog)
33  env.Alias('target_install_esdcreate', inst_esdcreate)  env.Alias('install_esdcreate', inst_esdcreate)
34    

Legend:
Removed from v.3258  
changed lines
  Added in v.3259

  ViewVC Help
Powered by ViewVC 1.1.26