/[escript]/branches/RW_WIN32/bruce/src/SConscript
ViewVC logotype

Annotation of /branches/RW_WIN32/bruce/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 185 - (hide annotations)
Sun Nov 20 05:43:12 2005 UTC (17 years, 4 months ago) by robwdcock
Original Path: branches/RW_WIN32/bruce/src/Bruce/SConscript
File size: 676 byte(s)
Robert Woodcock private branch for win32 port. Will eventually be merged with trunk when build systems are unified.
1 jgs 176 Import('*')
2    
3     import os
4    
5     cxx_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -w1'
6    
7 jgs 177 cpp_path = ['#../bruce/inc', '#../escript/inc',
8     '#../esysUtils/inc',
9     '/raid2/tools/python-2.3.4/include/python2.3',
10     '/raid2/tools/boost/include/boost-1_31']
11    
12 jgs 176 lib = 'brucecpp'
13 jgs 177 sources = ['Bruce.cpp',
14     'BruceFactory.cpp',
15     'brucecpp.cpp']
16 jgs 176
17     bruce_env = Environment(ENV = os.environ)
18    
19     bruce_env.Replace(CXX = 'icc')
20     bruce_env.Replace(SHOBJSUFFIX = '.lo')
21     bruce_env.Replace(CXXFLAGS = cxx_flags)
22     bruce_env.Replace(CPPPATH = cpp_path)
23    
24     bruce_lib = bruce_env.SharedLibrary(lib, sources)
25     bruce_env.Install(libdir, bruce_lib)

  ViewVC Help
Powered by ViewVC 1.1.26