/[escript]/branches/scons_revamp_from_3210/weipa/src/SConscript
ViewVC logotype

Diff of /branches/scons_revamp_from_3210/weipa/src/SConscript

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

revision 3211 by caltinay, Tue Sep 28 00:56:06 2010 UTC revision 3212 by caltinay, Tue Sep 28 01:06:07 2010 UTC
# Line 45  headers = """ Line 45  headers = """
45      weipa.h      weipa.h
46  """.split()  """.split()
47    
48  if local_env['usevisit']:  if local_env['visit']:
49      sources.append(['VisItData.cpp'])      sources.append(['VisItData.cpp'])
50      headers.append(['VisItData.h'])      headers.append(['VisItData.h'])
51      local_env.Append(CPPDEFINES = ['USE_VISIT'])      local_env.Append(CPPDEFINES = ['USE_VISIT'])
52      local_env.AppendUnique(LIBS = ['simV2'])      local_env.AppendUnique(LIBS = ['simV2'])
53    
54  local_env.AppendUnique(LIBS = ['esysUtils', 'finley', 'escript'] + env['sys_libs'])  local_env.AppendUnique(LIBS = ['esysUtils', 'finley', 'escript'] + env['sys_libs'])
55  if local_env['usesilo']:  if local_env['silo']:
56    local_env.Append(CPPDEFINES = ['USE_SILO'])    local_env.Append(CPPDEFINES = ['USE_SILO'])
57    local_env.AppendUnique(LIBS = [env['silo_libs']])    local_env.AppendUnique(LIBS = [env['silo_libs']])
58    
59  if IS_WINDOWS_PLATFORM :  if IS_WINDOWS:
60    local_env.Append(CPPDEFINES = ['WEIPA_EXPORTS'])    local_env.Append(CPPDEFINES = ['WEIPA_EXPORTS'])
61    
62  module_name = 'weipa'  module_name = 'weipa'
# Line 105  Export('dep_lib') Line 105  Export('dep_lib')
105  # files in the same build directory twice. The plugin is currently only for  # files in the same build directory twice. The plugin is currently only for
106  # Linux anyway. Correct fix is probably a second SConscript file with different  # Linux anyway. Correct fix is probably a second SConscript file with different
107  # build_dir setting.  # build_dir setting.
108  if not IS_WINDOWS_PLATFORM:  if not IS_WINDOWS:
109      visitplugin_env = clone_env(env_mpi)      visitplugin_env = clone_env(env_mpi)
110      plugin_sources = """      plugin_sources = """
111          DataVar.cpp          DataVar.cpp

Legend:
Removed from v.3211  
changed lines
  Added in v.3212

  ViewVC Help
Powered by ViewVC 1.1.26