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

Annotation of /trunk/esysUtils/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 191 - (hide annotations)
Mon Nov 21 04:10:12 2005 UTC (13 years, 10 months ago) by jgs
File size: 500 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 jgs 180 Import('*')
2    
3     import os
4 jgs 190 import string
5 jgs 180
6 jgs 190 esysUtils_path = str(esysroot) + '/esysUtils/inc'
7 jgs 180
8 jgs 190 cpp_path = [esysUtils_path,
9     python_path,
10     boost_path]
11    
12 jgs 180 lib = 'esysUtils'
13     sources = ['EsysException.cpp',
14     'esysExceptionTranslator.cpp']
15    
16     utils_env = Environment(ENV = os.environ)
17    
18     utils_env.Replace(CXX = 'icc')
19     utils_env.Replace(CXXFLAGS = cxx_flags)
20     utils_env.Replace(CPPPATH = cpp_path)
21    
22     utils_lib = utils_env.StaticLibrary(lib, sources)
23     utils_env.Install(libdir, utils_lib)

  ViewVC Help
Powered by ViewVC 1.1.26