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

Contents of /trunk/bruce/src/Bruce/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 176 - (show annotations)
Fri Nov 18 01:49:12 2005 UTC (13 years, 10 months ago) by jgs
File size: 616 byte(s)
first draft of scons config/construct files to build brucecpp.so library

1 Import('*')
2
3 import os
4
5 cxx_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -w1'
6 cpp_path = ['#../bruce/inc', '#../escript/inc', '#../esysUtils/inc','/raid2/tools/python-2.3.4/include/python2.3', '/raid2/tools/boost/include/boost-1_31']
7
8 lib = 'brucecpp'
9 sources = ['Bruce.cpp', 'BruceFactory.cpp', 'brucecpp.cpp']
10
11 bruce_env = Environment(ENV = os.environ)
12
13 bruce_env.Replace(CXX = 'icc')
14 bruce_env.Replace(SHOBJSUFFIX = '.lo')
15 bruce_env.Replace(CXXFLAGS = cxx_flags)
16 bruce_env.Replace(CPPPATH = cpp_path)
17
18 bruce_lib = bruce_env.SharedLibrary(lib, sources)
19 bruce_env.Install(libdir, bruce_lib)

  ViewVC Help
Powered by ViewVC 1.1.26