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

Annotation of /trunk/esysUtils/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 225 - (hide annotations)
Fri Nov 25 01:22:34 2005 UTC (13 years, 9 months ago) by jgs
File size: 536 byte(s)
pass in correct options to archiver for static libraries
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 jgs 223 utils_env.Replace(CXX = cxx)
19 jgs 180 utils_env.Replace(CXXFLAGS = cxx_flags)
20 jgs 225 utils_env.Replace(ARFLAGS = ar_flags)
21 jgs 180 utils_env.Replace(CPPPATH = cpp_path)
22    
23     utils_lib = utils_env.StaticLibrary(lib, sources)
24     utils_env.Install(libdir, utils_lib)

  ViewVC Help
Powered by ViewVC 1.1.26