/[escript]/trunk/finley/test/MeshAdapter/SConstruct
ViewVC logotype

Contents of /trunk/finley/test/MeshAdapter/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 205 - (show annotations)
Wed Nov 23 05:02:59 2005 UTC (13 years, 6 months ago) by jgs
File size: 2416 byte(s)
fix settings to account for new finley source tree structure

1 esysroot = None
2
3 Import('*')
4
5 import os
6 import string
7
8 if esysroot == None:
9 esysroot = Dir('#../../..')
10
11 ##### these will enventually be loaded from an external config file ########
12
13 cxx_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -c -fpic -w1'
14
15 python_path = '/raid2/tools/python-2.3.4/include/python2.3'
16 boost_path = '/raid2/tools/boost/include/boost-1_31'
17
18 python_lib_path = '/raid2/tools/python-2.3.4/lib'
19 boost_lib_path = '/raid2/tools/boost/lib'
20
21 ############################################################################
22
23 meshadapter_test_path = str(esysroot) + '/finley/test/MeshAdapter'
24 escript_path = str(esysroot) + '/escript/inc'
25 finley_path = str(esysroot) + '/finley/src/finley'
26 finley_cppadapter_path = str(esysroot) + '/finley/src/finley/CPPAdapter'
27 paso_path = str(esysroot) + '/paso/inc'
28 mmio_path = str(esysroot) + '/tools/mmio/inc'
29 esysUtils_path = str(esysroot) + '/esysUtils/inc'
30 CppUnitTest_path = str(esysroot) + '/tools/CppUnitTest/inc'
31
32 esys_lib_path = str(esysroot) + '/lib'
33 finley_lib_path = str(esysroot) + '/finley/lib'
34 mmio_lib_path = str(esysroot) + '/tools/mmio/lib'
35 esysUtils_lib_path = str(esysroot) + '/esysUtils/lib'
36 CppUnitTest_lib_path = str(esysroot) + '/tools/CppUnitTest/lib'
37
38 cpp_path = [meshadapter_test_path,
39 escript_path,
40 finley_path,
41 finley_cppadapter_path,
42 paso_path,
43 mmio_path,
44 esysUtils_path,
45 CppUnitTest_path,
46 python_path,
47 boost_path]
48
49 lib_path = [esys_lib_path,
50 finley_lib_path,
51 mmio_lib_path,
52 esysUtils_lib_path,
53 CppUnitTest_lib_path,
54 python_lib_path,
55 boost_lib_path]
56
57 libs = ['escriptcpp',
58 'esysUtils',
59 'finleycpp',
60 'paso',
61 'mmio',
62 'CppUnitTest',
63 'python2.3',
64 'boost_python-intel-d-1_31',
65 'scs_mp',
66 'dl',
67 'util',
68 'guide',
69 'irc']
70
71 sources = ['MeshAdapterTestCase.cpp',
72 'MeshAdapterTest.cpp']
73
74 target = 'MeshAdapterTest.exe'
75
76 meshadapter_env = Environment(ENV = os.environ)
77
78 meshadapter_env.Replace(CXX = 'icc')
79 meshadapter_env.Replace(CXXFLAGS = cxx_flags)
80 meshadapter_env.Replace(CPPPATH = cpp_path)
81 meshadapter_env.Replace(LIBPATH = lib_path)
82 meshadapter_env.Replace(LIBS = libs)
83
84 meshadapter_test_exe = meshadapter_env.Program(target, sources)

  ViewVC Help
Powered by ViewVC 1.1.26