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

Annotation of /trunk/esysUtils/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 180 - (hide annotations)
Fri Nov 18 03:29:44 2005 UTC (13 years, 10 months ago) by jgs
File size: 582 byte(s)
first draft of scons config scripts for esysUtils library

1 jgs 180 Import('*')
2    
3     import os
4    
5     cxx_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -w1'
6    
7     cpp_path = ['#../esysUtils/inc',
8     '/raid2/tools/python-2.3.4/include/python2.3',
9     '/raid2/tools/boost/include/boost-1_31']
10    
11     lib = 'esysUtils'
12     sources = ['EsysException.cpp',
13     'esysExceptionTranslator.cpp']
14    
15     utils_env = Environment(ENV = os.environ)
16    
17     utils_env.Replace(CXX = 'icc')
18     utils_env.Replace(CXXFLAGS = cxx_flags)
19     utils_env.Replace(CPPPATH = cpp_path)
20    
21     utils_lib = utils_env.StaticLibrary(lib, sources)
22     utils_env.Install(libdir, utils_lib)

  ViewVC Help
Powered by ViewVC 1.1.26