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

Contents of /trunk/escript/src/Data/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 191 - (show annotations)
Mon Nov 21 04:10:12 2005 UTC (13 years, 11 months ago) by jgs
File size: 1259 byte(s)
push platform dependent compiler flags and include directories up to library level scons files - these will eventually be brought in from external config files
1 Import('*')
2
3 import os
4 import string
5
6 escript_path = str(esysroot) + '/escript/inc'
7 esysUtils_path = str(esysroot) + '/esysUtils/inc'
8
9 cpp_path = [escript_path,
10 esysUtils_path,
11 python_path,
12 boost_path]
13
14 lib = 'escriptcpp'
15 sources = ['AbstractContinuousDomain.cpp',
16 'AbstractDomain.cpp',
17 'AbstractSystemMatrix.cpp',
18 'DataAbstract.cpp',
19 'DataArray.cpp',
20 'DataArrayView.cpp',
21 'DataBlocks2D.cpp',
22 'DataCached.cpp',
23 'DataC.cpp',
24 'DataConstant.cpp',
25 'Data.cpp',
26 'DataEmpty.cpp',
27 'DataExpanded.cpp',
28 'DataFactory.cpp',
29 'DataProf.cpp',
30 'DataTagged.cpp',
31 'DataVariable.cpp',
32 'DataVector.cpp',
33 'FunctionSpace.cpp',
34 'FunctionSpaceFactory.cpp',
35 'NullDomain.cpp',
36 'Taipan.cpp',
37 'escriptcpp.cpp']
38
39 escript_env = Environment(ENV = os.environ)
40
41 escript_env.Replace(CXX = 'icc')
42 escript_env.Replace(SHOBJSUFFIX = '.lo')
43 escript_env.Replace(CXXFLAGS = cxx_flags)
44 escript_env.Replace(CPPPATH = cpp_path)
45
46 escript_lib = escript_env.SharedLibrary(lib, sources)
47 escript_env.Install(libdir, escript_lib)

  ViewVC Help
Powered by ViewVC 1.1.26