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

Contents of /trunk/escript/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 190 - (show annotations)
Mon Nov 21 03:27:42 2005 UTC (13 years, 8 months ago) by jgs
Original Path: trunk/escript/src/Data/SConscript
File size: 1457 byte(s)
pass in value for esysroot and use this to determine include file locations
1 Import('*')
2
3 import os
4 import string
5
6 cxx_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -fpic -w1'
7
8 escript_path = str(esysroot) + '/escript/inc'
9 esysUtils_path = str(esysroot) + '/esysUtils/inc'
10 python_path = '/raid2/tools/python-2.3.4/include/python2.3'
11 boost_path = '/raid2/tools/boost/include/boost-1_31'
12
13 cpp_path = [escript_path,
14 esysUtils_path,
15 python_path,
16 boost_path]
17
18 lib = 'escriptcpp'
19 sources = ['AbstractContinuousDomain.cpp',
20 'AbstractDomain.cpp',
21 'AbstractSystemMatrix.cpp',
22 'DataAbstract.cpp',
23 'DataArray.cpp',
24 'DataArrayView.cpp',
25 'DataBlocks2D.cpp',
26 'DataCached.cpp',
27 'DataC.cpp',
28 'DataConstant.cpp',
29 'Data.cpp',
30 'DataEmpty.cpp',
31 'DataExpanded.cpp',
32 'DataFactory.cpp',
33 'DataProf.cpp',
34 'DataTagged.cpp',
35 'DataVariable.cpp',
36 'DataVector.cpp',
37 'FunctionSpace.cpp',
38 'FunctionSpaceFactory.cpp',
39 'NullDomain.cpp',
40 'Taipan.cpp',
41 'escriptcpp.cpp']
42
43 escript_env = Environment(ENV = os.environ)
44
45 escript_env.Replace(CXX = 'icc')
46 escript_env.Replace(SHOBJSUFFIX = '.lo')
47 escript_env.Replace(CXXFLAGS = cxx_flags)
48 escript_env.Replace(CPPPATH = cpp_path)
49
50 escript_lib = escript_env.SharedLibrary(lib, sources)
51 escript_env.Install(libdir, escript_lib)

  ViewVC Help
Powered by ViewVC 1.1.26