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

Contents of /branches/RW_WIN32/paso/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 200 - (show annotations)
Tue Nov 22 07:55:09 2005 UTC (13 years, 8 months ago) by robwdcock
File size: 2019 byte(s)
PARTIAL WIN32 BUILD SYSTEM AND PORT
+ CppUnitTest build system and library now ported
+ make directory and other no longer necessary directories removed from this branches subversion repository
+ moved a few include files so they are now resident with sources. Build system will Install these to the appropriate location during build.
1 Import('*')
2
3 paso_env=env.Copy()
4
5 sources= Split("""Options_getPackage.c
6 Options_getSolver.c
7 Options_setDefaults.c
8 Paso.c
9 SystemMatrix.c
10 SystemMatrixPattern.c
11 SystemMatrixPattern_getSubpattern.c
12 SystemMatrixPattern_mis.c
13 SystemMatrixPattern_unrollBlocks.c
14 SystemMatrix_MatrixVector.c
15 SystemMatrix_borrowNormalization.c
16 SystemMatrix_copy.c
17 SystemMatrix_getSubmatrix.c
18 SystemMatrix_getSystemMatrixTypeId.c
19 SystemMatrix_loadMM.c
20 SystemMatrix_nullifyRowsAndCols.c
21 SystemMatrix_saveHB.c
22 SystemMatrix_saveMM.c
23 SystemMatrix_setValues.c
24 Util.c
25 solve.c
26 Solvers/BiCGStab.c
27 Solvers/GMRES.c
28 Solvers/PCG.c
29 Solvers/Solver.c
30 Solvers/Solver_ILU.c
31 Solvers/Solver_SchurComplement.c
32 Solvers/Solver_applyBlockDiagonalMatrix.c
33 Solvers/Solver_jacobi.c
34 Solvers/Solver_preconditioner.c""")
35 headers= Split("""Common.h
36 Options.h
37 Paso.h
38 SystemMatrix.h
39 SystemMatrixPattern.h
40 Util.h
41 Solvers/Solver.h""")
42
43 # TODO: if building with SCSL then the appropriate sources need to be appended to the above.
44
45 if env['PLATFORM'] == "win32":
46 paso_env.Append(CPPDEFINES=['_WINDOWS', '_USRDLL', 'PASO_EXPORTS'])
47 paso_env.Append(LIBS='mmio')
48 paso_env['PDB'] = 'paso.pdb'
49
50 paso_lib = paso_env.SharedLibrary( 'paso', sources)
51
52 include = Dir('paso', esys_inc)
53
54 paso_env.Install( include, headers)
55 paso_env.Install( esys_lib, paso_lib)

  ViewVC Help
Powered by ViewVC 1.1.26