/[escript]/trunk/paso/SConstruct
ViewVC logotype

Contents of /trunk/paso/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 481 - (show annotations)
Wed Feb 1 05:57:50 2006 UTC (17 years, 1 month ago) by jgs
File size: 1088 byte(s)
add mechanism to install .h files to inc directories
(still need to specify full lists of .h files to install)

1 # Scons configuration file for paso
2
3 #
4 # set appropriate configuration variable defaults
5
6 esysroot=str(Dir('./..').abspath)
7 execfile(str(File(esysroot+"/scons/esys_options.py")))
8
9 Export(["scsl_path","scsl_libs"])
10 Export(["mkl_path","mkl_libs"])
11 Export(["umfpack_path","umfpack_libs"])
12 Export(["python_path"])
13 Export(["boost_path"])
14 Export(["cc"])
15 Export(["cc_flags"])
16 Export(["ar_flags"])
17 Export(["libinstall"])
18 Export(["incinstall"])
19
20 # set and export library directories
21
22 libdir = Dir(str(esysroot) + '/paso/lib')
23 Export(["libdir"])
24 libdir2 = Dir(str(esysroot) + '/lib')
25 Export(["libdir2"])
26
27 #
28 # set and export include directories
29
30 incdir = Dir(str(esysroot) + '/paso/inc')
31 Export(["incdir"])
32 incdir2 = Dir(str(esysroot) + '/inc')
33 Export(["incdir2"])
34 if incinstall != None:
35 Export(["incinstall"])
36
37 #
38 # print out build configuration for this module
39
40 print "Build configuration for module: paso"
41 print " cc: ", cc
42 print " cc_flags: ", cc_flags
43
44 # call the SConscript to do the actual build
45
46 SConscript('src/SConscript', src_dir='src', build_dir='obj', duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26