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

Annotation of /trunk/bruce/src/Bruce/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 177 - (hide annotations)
Fri Nov 18 02:50:20 2005 UTC (14 years, 11 months ago) by jgs
File size: 676 byte(s)
reformatted list of source files

1 jgs 176 Import('*')
2    
3     import os
4    
5     cxx_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -w1'
6    
7 jgs 177 cpp_path = ['#../bruce/inc', '#../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 jgs 176 lib = 'brucecpp'
13 jgs 177 sources = ['Bruce.cpp',
14     'BruceFactory.cpp',
15     'brucecpp.cpp']
16 jgs 176
17     bruce_env = Environment(ENV = os.environ)
18    
19     bruce_env.Replace(CXX = 'icc')
20     bruce_env.Replace(SHOBJSUFFIX = '.lo')
21     bruce_env.Replace(CXXFLAGS = cxx_flags)
22     bruce_env.Replace(CPPPATH = cpp_path)
23    
24     bruce_lib = bruce_env.SharedLibrary(lib, sources)
25     bruce_env.Install(libdir, bruce_lib)

  ViewVC Help
Powered by ViewVC 1.1.26