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

Annotation of /trunk/esysUtils/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 190 - (hide annotations)
Mon Nov 21 03:27:42 2005 UTC (13 years, 11 months ago) by jgs
File size: 698 byte(s)
pass in value for esysroot and use this to determine include file locations
1 jgs 180 Import('*')
2    
3     import os
4 jgs 190 import string
5 jgs 180
6 jgs 188 cxx_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -fpic -w1'
7 jgs 180
8 jgs 190 esysUtils_path = str(esysroot) + '/esysUtils/inc'
9     python_path = '/raid2/tools/python-2.3.4/include/python2.3'
10     boost_path = '/raid2/tools/boost/include/boost-1_31'
11 jgs 180
12 jgs 190 cpp_path = [esysUtils_path,
13     python_path,
14     boost_path]
15    
16 jgs 180 lib = 'esysUtils'
17     sources = ['EsysException.cpp',
18     'esysExceptionTranslator.cpp']
19    
20     utils_env = Environment(ENV = os.environ)
21    
22     utils_env.Replace(CXX = 'icc')
23     utils_env.Replace(CXXFLAGS = cxx_flags)
24     utils_env.Replace(CPPPATH = cpp_path)
25    
26     utils_lib = utils_env.StaticLibrary(lib, sources)
27     utils_env.Install(libdir, utils_lib)

  ViewVC Help
Powered by ViewVC 1.1.26