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

Annotation of /trunk/escript/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 181 - (hide annotations)
Fri Nov 18 04:28:47 2005 UTC (13 years, 8 months ago) by jgs
Original Path: trunk/escript/src/Data/SConscript
File size: 1300 byte(s)
first draft of config/construct scripts for escript library

1 jgs 181 Import('*')
2    
3     import os
4    
5     cxx_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -w1'
6    
7     cpp_path = ['#../escript/inc',
8     '#../esysUtils/inc',
9     '/raid2/tools/python-2.3.4/include/python2.3',
10     '/raid2/tools/boost/include/boost-1_31']
11    
12     lib = 'escriptcpp'
13     sources = ['AbstractContinuousDomain.cpp',
14     'AbstractDomain.cpp',
15     'AbstractSystemMatrix.cpp',
16     'DataAbstract.cpp',
17     'DataArray.cpp',
18     'DataArrayView.cpp',
19     'DataBlocks2D.cpp',
20     'DataCached.cpp',
21     'DataC.cpp',
22     'DataConstant.cpp',
23     'Data.cpp',
24     'DataEmpty.cpp',
25     'DataExpanded.cpp',
26     'DataFactory.cpp',
27     'DataProf.cpp',
28     'DataTagged.cpp',
29     'DataVariable.cpp',
30     'DataVector.cpp',
31     'FunctionSpace.cpp',
32     'FunctionSpaceFactory.cpp',
33     'NullDomain.cpp',
34     'Taipan.cpp',
35     'escriptcpp.cpp']
36    
37     escript_env = Environment(ENV = os.environ)
38    
39     escript_env.Replace(CXX = 'icc')
40     escript_env.Replace(SHOBJSUFFIX = '.lo')
41     escript_env.Replace(CXXFLAGS = cxx_flags)
42     escript_env.Replace(CPPPATH = cpp_path)
43    
44     escript_lib = escript_env.SharedLibrary(lib, sources)
45     escript_env.Install(libdir, escript_lib)

  ViewVC Help
Powered by ViewVC 1.1.26