/[escript]/trunk/bruce/src/SConscript
ViewVC logotype

Diff of /trunk/bruce/src/SConscript

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

trunk/bruce/src/Bruce/SConscript revision 288 by jgs, Fri Dec 2 01:55:04 2005 UTC trunk/bruce/src/SConscript revision 481 by jgs, Wed Feb 1 05:57:50 2006 UTC
# Line 1  Line 1 
1  libinstall = None  libinstall = None
2    incinstall = None
3    
4  Import('*')  Import('*')
5    
# Line 7  import string Line 8  import string
8    
9  libname = 'brucecpp'  libname = 'brucecpp'
10    
11  bruce_path = str(esysroot) + '/bruce/inc'  bruce_path = str(esysroot) + '/bruce/src'
12  escript_path = str(esysroot) + '/escript/inc'  escript_path = str(esysroot) + '/escript/src'
13  esysUtils_path = str(esysroot) + '/esysUtils/inc'  esysUtils_path = str(esysroot) + '/esysUtils/src'
14    
15  esys_lib_path = str(esysroot) + '/lib'  esys_lib_path = str(esysroot) + '/lib'
16  esysUtils_lib_path = str(esysroot) + '/esysUtils/lib'  esysUtils_lib_path = str(esysroot) + '/esysUtils/lib'
# Line 23  cpp_path = [bruce_path, Line 24  cpp_path = [bruce_path,
24              python_path,              python_path,
25              boost_path]              boost_path]
26    
27    incs = ['BruceException.h',
28            'BruceFactory.h',
29            'Bruce.h',
30            'vtkCellType.h']
31    
32  sources = ['Bruce.cpp',  sources = ['Bruce.cpp',
33             'BruceFactory.cpp',             'BruceFactory.cpp',
34             'brucecpp.cpp']             'brucecpp.cpp']
# Line 51  bruce_lib = bruce_env.SharedLibrary(libn Line 57  bruce_lib = bruce_env.SharedLibrary(libn
57  Depends(bruce_lib, esysUtils_lib)  Depends(bruce_lib, esysUtils_lib)
58  Depends(bruce_lib, escript_lib)  Depends(bruce_lib, escript_lib)
59    
60  bruce_env.Install(libdir, bruce_lib)  Default(bruce_env.Install(incdir, incs))
61  bruce_env.Install(libdir2, bruce_lib)  Default(bruce_env.Install(incdir2, incs))
62    if incinstall != None:
63      Default(bruce_env.Install(incinstall, incs))
64    
65    Default(bruce_env.Install(libdir, bruce_lib))
66    Default(bruce_env.Install(libdir2, bruce_lib))
67  if libinstall != None:  if libinstall != None:
68    bruce_env.Install(libinstall, bruce_lib)    Default(bruce_env.Install(libinstall, bruce_lib))

Legend:
Removed from v.288  
changed lines
  Added in v.481

  ViewVC Help
Powered by ViewVC 1.1.26