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

Contents of /trunk/esysUtils/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 190 - (show annotations)
Mon Nov 21 03:27:42 2005 UTC (13 years, 10 months ago) by jgs
File size: 698 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 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
12 cpp_path = [esysUtils_path,
13 python_path,
14 boost_path]
15
16 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