/[escript]/trunk/tools/CppUnitTest/SConstruct
ViewVC logotype

Contents of /trunk/tools/CppUnitTest/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 425 - (show annotations)
Tue Jan 10 04:10:39 2006 UTC (13 years, 11 months ago) by gross
File size: 622 byte(s)
The sparse solver can be called by paso now. 

the building has been change to reduce some code redundancy:
now all scons SCscripts are importing scons/esys_options.py which
imports platform specific settings. 



1 # Scons configuration file for CppUnitTest
2 # set appropriate defaults for configuration variables
3 esysroot=str(Dir('./../..').abspath)
4 execfile(str(File(esysroot+"/scons/esys_options.py")))
5
6 libdir = Dir(str(esysroot) + '/tools/CppUnitTest/lib')
7 Export(["libdir"])
8
9 Export(["cxx"])
10 Export(["cxx_flags"])
11 Export(["ar_flags"])
12
13 #
14 # print out build configuration for this module
15
16 print "Build configuration for module: CppUnitTest"
17 print " cxx: ", cxx
18 print " cxx_flags: ", cxx_flags
19
20 #
21 # call the SConscript to do the actual build
22
23 SConscript('src/SConscript', src_dir='src', build_dir='obj', duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26