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

Contents of /trunk/bruce/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 191 - (show annotations)
Mon Nov 21 04:10:12 2005 UTC (13 years, 7 months ago) by jgs
Original Path: trunk/bruce/src/Bruce/SConscript
File size: 684 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 Import('*')
2
3 import os
4 import string
5
6 bruce_path = str(esysroot) + '/bruce/inc'
7 escript_path = str(esysroot) + '/escript/inc'
8 esysUtils_path = str(esysroot) + '/esysUtils/inc'
9
10 cpp_path = [bruce_path,
11 escript_path,
12 esysUtils_path,
13 python_path,
14 boost_path]
15
16 lib = 'brucecpp'
17 sources = ['Bruce.cpp',
18 'BruceFactory.cpp',
19 'brucecpp.cpp']
20
21 bruce_env = Environment(ENV = os.environ)
22
23 bruce_env.Replace(CXX = 'icc')
24 bruce_env.Replace(SHOBJSUFFIX = '.lo')
25 bruce_env.Replace(CXXFLAGS = cxx_flags)
26 bruce_env.Replace(CPPPATH = cpp_path)
27
28 bruce_lib = bruce_env.SharedLibrary(lib, sources)
29 bruce_env.Install(libdir, bruce_lib)

  ViewVC Help
Powered by ViewVC 1.1.26