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

Annotation of /trunk/esysUtils/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 352 - (hide annotations)
Wed Dec 14 02:21:37 2005 UTC (13 years, 10 months ago) by jgs
File size: 546 byte(s)
turns out Install() targets should also be made Default()
targets if you want them to actually reliably work!

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 jgs 352
25     Default(utils_env.Install(libdir, utils_lib))

  ViewVC Help
Powered by ViewVC 1.1.26