/[escript]/branches/RW_WIN32/finley/src/CPPAdapter/SConscript
ViewVC logotype

Annotation of /branches/RW_WIN32/finley/src/CPPAdapter/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 182 - (hide annotations)
Fri Nov 18 05:07:36 2005 UTC (13 years, 10 months ago) by jgs
Original Path: trunk/finley/src/CPPAdapter/SConscript
File size: 835 byte(s)
first draft of config/construct files for finleyC/finleycpp libraries

1 jgs 182 Import('*')
2    
3     import os
4    
5     cxx_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -w1'
6    
7     cpp_path = ['#../finley/inc',
8     '#../esysUtils/inc',
9     '#../escript/inc',
10     '#../paso/inc',
11     '/raid2/tools/python-2.3.4/include/python2.3',
12     '/raid2/tools/boost/include/boost-1_31']
13    
14     lib = 'finleycpp'
15     sources = ['FinleyError.cpp',
16     'MeshAdapter.cpp',
17     'MeshAdapterFactory.cpp',
18     'SystemMatrixAdapter.cpp',
19     'finleycpp.cpp']
20    
21     finleycpp_env = Environment(ENV = os.environ)
22    
23     finleycpp_env.Replace(CXX = 'icc')
24     finleycpp_env.Replace(SHOBJSUFFIX = '.lo')
25     finleycpp_env.Replace(CXXFLAGS = cxx_flags)
26     finleycpp_env.Replace(CPPPATH = cpp_path)
27    
28     finleycpp_lib = finleycpp_env.SharedLibrary(lib, sources)
29     finleycpp_env.Install(libdir, finleycpp_lib)

  ViewVC Help
Powered by ViewVC 1.1.26